note 108498 added to function.mail

From: Date: Wed, 02 May 2012 01:24:42 +0000
Subject: note 108498 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-187421@lists.php.net to get a copy of this message
Be careful to not put extra spaces for the $headers variable. For example, this didn't work on our servers: $headers = "From: $from \r\n Bcc: $bcc \r\n"; But this did: $headers = "From: $from\r\nBcc: $bcc\r\n"; Notice the removal of the spaces around the first \r\n. ---- Server IP: 69.147.83.197 Probable Submitter: 164.67.144.103 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/108498 Del: integrated -- https://master.php.net/note/delete/108498/integrated Del: useless -- https://master.php.net/note/delete/108498/useless Del: bad code -- https://master.php.net/note/delete/108498/bad+code Del: spam -- https://master.php.net/note/delete/108498/spam Del: non-english -- https://master.php.net/note/delete/108498/non-english Del: in docs -- https://master.php.net/note/delete/108498/in+docs Del: other reasons-- https://master.php.net/note/delete/108498 Reject -- https://master.php.net/note/reject/108498 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#187421) next »