Mail_mimeDecode::decode()

Mail_mimeDecode::decode() -- perform decoding

Synopsis

require_once 'Mail/mimeDecode.php';

object decode (array [$args = NULL])

Description

This function performs the decoding and returns a structure containing the message data.

Parameter

Return value

object -

Throws

Table 46-1. Possible PEAR_Error values

Error codeError messageReasonSolution
NULL " Called statically and no input given " You called the function statically and forgot to fill $args['input'] Fill $args['input'] with the content to decode or do not call the function statically.
NULL every other See the error message. The input or parts of the input does not complies to the MIME standard.

Note

This function can be called statically.