mailparse_uudecode_all

(PECL mailparse >= 0.9.0) Scans the data from fp and extract each embedded uuencoded file array mailparse_uudecode_all ( resource $fp ) Scans the data from the given file pointer and extract each embedded uuencoded file into a temporary file. Parameters: fp A valid file pointer. Returns: Returns an array of associative arrays listing filenam

mailparse_stream_encode

(PECL mailparse >= 0.9.0) Streams data from source file pointer, apply encoding and write to destfp bool mailparse_stream_encode ( resource $sourcefp, resource $destfp, string $encoding ) Streams data from the source file pointer, apply encoding and write to the destination file pointer. Parameters: sourcefp A valid file handle. The file is streamed through the parse

mailparse_rfc822_parse_addresses

(PECL mailparse >= 0.9.0) Parse RFC 822 compliant addresses array mailparse_rfc822_parse_addresses ( string $addresses ) Parses a » RFC 822 compliant recipient list, such as that found in the To: header. Parameters: addresses A string containing addresses, like in: Wez Furlong <wez@example.com>, doe@example.com Note: This string must not include the header na

mailparse_msg_parse

(PECL mailparse >= 0.9.0) Incrementally parse data into buffer bool mailparse_msg_parse ( resource $mimemail, string $data ) Incrementally parse data into the supplied mime mail resource. This function allow you to stream portions of a file at a time, rather than read and parse the whole thing. Parameters: mimemail A valid MIME resource. data

mailparse_msg_parse_file

(PECL mailparse >= 0.9.0) Parses a file resource mailparse_msg_parse_file ( string $filename ) Parses a file. This is the optimal way of parsing a mail file that you have on disk. Parameters: filename Path to the file holding the message. The file is opened and streamed through the parser. Returns: Returns a MIME resource representing the stru

mailparse_msg_get_structure

(PECL mailparse >= 0.9.0) Returns an array of mime section names in the supplied message array mailparse_msg_get_structure ( resource $mimemail ) Parameters: mimemail A valid MIME resource. This function is currently not documented; only its argument list is available.

mailparse_msg_get_part

(PECL mailparse >= 0.9.0) Returns a handle on a given section in a mimemessage resource mailparse_msg_get_part ( resource $mimemail, string $mimesection ) Parameters: mimemail A valid MIME resource. mimesection A valid MIME resource. This function is currently not documented; only its argume

mailparse_msg_get_part_data

(PECL mailparse >= 0.9.0) Returns an associative array of info about the message array mailparse_msg_get_part_data ( resource $mimemail ) Parameters: mimemail A valid MIME resource. This function is currently not documented; only its argument list is available.

mailparse_msg_free

(PECL mailparse >= 0.9.0) Frees a MIME resource bool mailparse_msg_free ( resource $mimemail ) Frees a MIME resource. Parameters: mimemail A valid MIME resource allocated by mailparse_msg_create() or mailparse_msg_parse_file(). Returns: Returns TRUE on success or FALSE on failure.

mailparse_msg_extract_whole_part_file

(PECL mailparse >= 0.9.0) Extracts a message section including headers without decoding the transfer encoding string mailparse_msg_extract_whole_part_file ( resource $mimemail, string $filename [, callable $callbackfunc ] ) Parameters: mimemail A valid MIME resource. filename A valid MIME resource. callbackfunc