note 43996 deleted from function.mail by aidan
| From: | aidan@php.net | Date: | Mon, 14 Feb 2005 02:21:31 +0000 |
| Subject: | note 43996 deleted from function.mail by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-84965@lists.php.net to get a copy of this message | ||
Note Submitter: howdoyouowntheworld at yahoo dot com
----
A brief comment on the "\r\n" in headers:
Recent email scanners (virus scanners) working on mail servers will refuse to deliver any mail
containing the "\r" character in header (your mail will probably bounce off with
"Disallowed MIME characters found in headers" comment).
This is true for Qmail-Scanner and F-Prot Antivirus for Linux but for others most probably too.
Hence use "\r\n" in headers ONLY when you send you email using the mail() function via
Windows-based SMTP server - otherwise just use "\n"