mailparse_uudecode_all

PECL mailparse >= 0.9.0
mailparse_uudecode_all - Scans the data from fp and extract each embedded uuencoded file
Manual
Code Examples

mailparse_uudecode_all( resource$fp ): array

Scans the data from the given file pointer and extract each embedded uuencoded file into a temporary file.

Parameters

fp

A valid file pointer.

Return Values

Returns an array of associative arrays listing filename information.

filename Path to the temporary file name created
origfilename The original filename, for uuencoded parts only
The first filename entry is the message body. The next entries are the decoded uuencoded files.

Example of mailparse_uudecode_all

Show all examples for mailparse_uudecode_all

PHP Version: