Gusep Posted November 14, 2008 Posted November 14, 2008 (edited) Hi, i'm looking for an answer to my problem with MS Entourage 2008 for Mac.My client needs to send a monthly newsletter composed as HTML email. All email clients (Outlook, Thunderbird ..) but Entourage can receive and read this email without major problems. Entourage, though is breaking the content and displays just few lines from the beginning.My guess is that it has something to do with the way how Entourage handles quoted-printable encoding. The important headers of email as they are set:Content-Type: text/html; charset=iso-8859-1Content-Transfer-Encoding: quoted-printableThe same behaviour in Entourage occurs when email is sent as multipart/alternative with alternative plain text.The content of the email is displayd until the character =00 occurs (encoded NUL?). Is this Entourage bug behaviour? Or am I doing something wrong? If someone could give me an advise, i would appreciate it.Cheers. Gusep Edited November 14, 2008 by Gusep
Gusep Posted November 14, 2008 Author Posted November 14, 2008 I will answer myself in case that someone encounters the same problem. The problem is indeed those =00 characters, so before sending the email you need to prepare it for quoted-printable encoding and remove all null characters.$str = preg_replace('/\x00+/', '', $str);
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now