note 40204 deleted from function.mail by crell
| From: | crell@php.net | Date: | Tue, 12 Apr 2022 01:10:16 +0000 |
| Subject: | note 40204 deleted from function.mail by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-218231@lists.php.net to get a copy of this message | ||
Note Submitter: Paul
----
My mime multipart/alternative messages were going ok, until I switched to qmail with php .. after
years of painfull searching, I came across this on the Life With Qmail 'Gotchas' section:
G.11. Carriage Return/Linefeed (CRLF) line breaks don't work
qmail-inject and other local injection mechanisms like sendmail don't work right when messages
are injected with DOS-style carriage return/linefeed (CRLF) line breaks. Unlike Sendmail, qmail
requires locally-injected messages to use Unix newlines (LF only). This is a common problem with PHP
scripts.
So now, I can go back to sending emails with text AND html components :)