Mail_IMAP::_decodeMessage()
str _decodeMessage(str &$body, str &$encoding, str &$charset)
Decodes a message from base64 or quoted-printable encoding. Also decodes the character set if utf8 encoding is specfied as the character set.
Warning: As a method used internally by Mail_IMAP, Mail_IMAP::_decodeMessage should not be used directly. Its API has the potential of being changed in future releases, should I find a more efficient approach.
Method summary:
| param | str | &$body The message body. |
| param | str | &$encoding The message encoding. |
| param | str | &$charset The message's character set. |
| return | str | |
| access | private | |
| see | Mail_IMAP::getBody | |

