Tries to determine the MIME part that carries an object matching the
specified folder type.
public static matchMimePartToFolderType ( Horde_Mime_Part $structure, string $type ) : array | boolean | ||
$structure | Horde_Mime_Part | A structural representation of the mime message. |
$type | string | The folder type. |
Résultat | array | boolean | The MIME ID and MIME type of the message part carrying an object matching the specified folder type or false if such a part was not identified within the message. |