note 80332 added to ref.mail
| From: | mortoray at ecircle-ag dot com | Date: | Thu, 10 Jan 2008 15:35:18 +0000 |
| Subject: | note 80332 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135001@lists.php.net to get a copy of this message | ||
Apparently if using the mbstring library, and using overriden functions, the "mail"
command appears to use "Content-Transfer-Encoding: BASE64" by default. Which if you
combine it with PEAR Mail_Mime you'll get mails that, although they appear RFC compliant, not
mailer can read correctly.
To fix this it appears you should add a fixed header in the mail command (this one assumes the pear
mime module is 7bit clean, perhaps 8bit would also be fine)
$headers['Content-Transfer-Encoding'] = '7bit';
----
Server IP: 212.124.37.9
Probable Submitter: 195.140.184.10
----
Manual Page -- http://www.php.net/manual/en/ref.mail.php
Edit -- https://master.php.net/note/edit/80332
Del: integrated -- https://master.php.net/note/delete/80332/integrated
Del: useless -- https://master.php.net/note/delete/80332/useless
Del: bad code -- https://master.php.net/note/delete/80332/bad+code
Del: spam -- https://master.php.net/note/delete/80332/spam
Del: non-english -- https://master.php.net/note/delete/80332/non-english
Del: in docs -- https://master.php.net/note/delete/80332/in+docs
Del: other reasons-- https://master.php.net/note/delete/80332
Reject -- https://master.php.net/note/reject/80332
Search -- https://master.php.net/manage/user-notes.php