Mail_IMAP::extractMIME()

array|FALSE extractMIME(int &$mid, array $MIME)

Searches all message parts for the specified MIME types. Returns an array of part ids on success and returns FALSE on failure.

Method summary:

param int &$mid message id
param array $MIME types to look for
return array|FALSE
throws ErrorStack: Argument requires array. The $MIME argument must be an array.
throws ErrorStack: Message structure 'ftype' does not exist. No message part contains a MIME type.
access public
Execution time: 0.05 seconds