Try to determine the MIME part that carries the object of the specified type.
public static matchMimePartToObjectType ( Horde_Mime_Part $structure, string $type ) : string | boolean | ||
$structure | Horde_Mime_Part | A structural representation of the mime message. |
$type | string | The object type. |
return | string | boolean | The MIME ID of the message part carrying the object of the specified type or false if such a part was not identified within the message. |