note 105423 added to function.mail

From: Date: Tue, 16 Aug 2011 17:48:39 +0000
Subject: note 105423 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-182517@lists.php.net to get a copy of this message
After banging my head against the wall, I realized after my host updated PHP that the From line in the header requires quotes around the name where before it worked regardless. Otherwise it will report success, and not sent. $headers .= 'From: "'. $Name . '" <' . $Email . '>' . "\r\n"; ---- Server IP: 69.147.83.197 Probable Submitter: 128.227.99.114 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/105423 Del: integrated -- https://master.php.net/note/delete/105423/integrated Del: useless -- https://master.php.net/note/delete/105423/useless Del: bad code -- https://master.php.net/note/delete/105423/bad+code Del: spam -- https://master.php.net/note/delete/105423/spam Del: non-english -- https://master.php.net/note/delete/105423/non-english Del: in docs -- https://master.php.net/note/delete/105423/in+docs Del: other reasons-- https://master.php.net/note/delete/105423 Reject -- https://master.php.net/note/reject/105423 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182517) next »