$_base : \Horde_Mime_Part
The composited mime part.
This class provides some base functionality for dealing with MIME objects in the context of ActiveSync requests.
isAttachment(string $id, string $mime_type) : boolean
Determines if a MIME type is an attachment.
For our purposes, an attachment is any MIME part that can be downloaded by itself (i.e. all the data needed to view the part is contained within the download data).
The MIME Id for the part we are checking.
The MIME type.
True if an attachment.
findBody(string $subtype = null) : mixed
Finds the main "body" text part (if any) in a message. "Body" data is the first text part under this part. Considers only body data that should be displayed as the main body on an EAS client. I.e., this ignores any text parts contained withing "attachment" parts such as messages/rfc822 attachments.
Specifically search for this subtype.
The MIME ID of the main body part, or null if a body part is not found.