Searches a message's structure to see if a multipart/$subtype MIME type appears, where $subtype is one of related or mixed. This is done by calling on Mail_IMAPv2::extractMIME() internally. If the multipart/related MIME type appears in a message's parsed structure, Mail_IMAPv2::_scanMultipart() uses the presence of that MIME type to adjust to anomolies in the message's stucture.
Warning: For most messages, the multipart/related MIME type does not appear in the parsed structure of the message. Therefore, Mail_IMAPv2::_isMultipart() should not be used to determine whether a message is a multipart/related message. The Mail_IMAPv2::getRelatedParts() method is provided to determine whether a message has related parts.
Warning: As a method used internally by Mail_IMAPv2, Mail_IMAPv2::_isMultipart() should not be used directly. Its API has the potential of being changed in future releases, should I find a more efficient approach.
|param||int||&$mid message id|
|param||str||$subtype The subtype to search for.|
There are no comments posted at this time.
* All comments are moderated and are subject to approval.
Your comment will appear once it has been approved.
Posting multiple times will not expedite the approval process.
Comments are closed at this time.