note 43996 added to function.mail

From: Date: Mon, 12 Jul 2004 04:09:01 +0000
Subject: note 43996 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-73075@lists.php.net to get a copy of this message
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" ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43996 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43996&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43996&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#73075) next »