Hi.
Im trying to find functions to decode an email.
According to the manual the email-parts can be decoded in either of:
7BIT mb_convert_encoding( $str, "ISO_8859-1", "UTF7-IMAP" )
8BIT doesnt need to be decoded
BINARY ???????
BASE64 imap_base64(
QUOTED-PRINTABLE quoted_printable_decode(
OTHER unknown - dont decode it
I belive Ive found functions to decode everything except binary. Funny thing (maybe I just dont understand) is that when I look in the manual there is a: imap_binary-function but it:
Convert an 8bit string to a base64 string according to the manual.
WTF! What does that have to do with binary????????????