Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

me.com server is corrupting my html

Can somebody explain this:


I'm generating multipart text/html messages from a PERL program on a Linux machine. The result looks exactly as I want, EXCEPT when the messages go to a mobileme address. When I open such a message, I see that style-statements, images and links are missing. Looking at the raw source, it seems that all occurences of "=" have been stripped out, rendering the tags that contain them invalid


(example: '<div style="Font-Family: Times, Serif">' becomes: '<div style"Font-Family: Times, Serif">')


what's doing this and how do I avoid it?

Posted on May 23, 2012 8:27 AM

Reply
Question marked as Best reply

Posted on May 23, 2012 1:47 PM

You have to encode it using either quoted-printable or base64. There are Perl modules that will do either. If you need to support Blackberry, you will have to use base64. The Blackberry servers have quoted-printable bugs.

4 replies

May 23, 2012 2:18 PM in response to etresoft

When I say I'm using PERL, what I'm actually doing is using a PERL program to generate a text file, which I then pipe into sendmail.


If I examine the text file, both the html and the text alternatives are headed by:


Content-Transfer-Encoding: quoted-printable

Content-Type: text/html (or text/plain);

charset=ISO-8859-15


After I've received the mail from the mobileme server, the plain text part is exactly as I sent it, but in the html part it's been altered to:


Content-type: text/html; CHARSET=US-ASCII

Content-transfer-encoding: 7BIT


I don't see how or why this should have been changed. And why just in the html section?


I'll try changing to base64 to see if it makes any difference.

me.com server is corrupting my html

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.