email - MS Entourage 2008 and quoted-printable encoding -
i need send html email. email clients (outlook, thunderbird ..) entourage can receive , read email without major problems. entourage, though breaking content , displays few lines beginning.
my guess has way how entourage handles quoted-printable encoding. important headers of email set:
content-type: text/html; charset=iso-8859-1 content-transfer-encoding: quoted-printable
the same behaviour in entourage occurs when email sent multipart/alternative alternative plain text. content of email displayd until character =00
occurs (encoded nul?).
is entourage bug behaviour? or doing wrong?
the problem indeed *=00*
characters. before sending email, need prepare quoted-printable encoding , remove null characters.
$str = preg_replace('/\x00+/', '', $str);
Comments
Post a Comment