Receiving mail server inserts space before each new line, breaking multipart/alternative
问题 I am using PHP to send emails on demand to clients. I have a script which seemed fairly robust in testing, generating MIME-1.0 Compatible multipart/alternative emails that had a text and html version. Emails are sent as base64 encoded strings to preserve international characters (message text is usually in German). However, it seems that certain servers, upon receiving the mail, insert a space ( 0x20 ) just before each CR-LF sequence. This doesn't break the base64, of course, but since it