note 80332 deleted from function.mail by tularis

From: Date: Mon, 13 Jun 2016 10:28:02 +0000
Subject: note 80332 deleted from function.mail by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-205695@lists.php.net to get a copy of this message
Note Submitter: mortoray at ecircle-ag dot com ---- 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) <?php $headers['Content-Transfer-Encoding'] = '7bit'; ?>

« previous php.notes (#205695) next »