note 34567 added to ref.mail

From: Date: Wed, 30 Jul 2003 23:40:57 +0000
Subject: note 34567 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-53042@lists.php.net to get a copy of this message
Remember to use "From: fromname <#>\r \n" when you use headers. wrong - $headers .= "From: ywamse.com STAFF\r \n"; rigth - $headers .= "From: ywamse.com STAFF<webmaster@ywamse.com>\r \n"; Otherwise when you recieve the mail the "From:" field will say: From: ywamse.com@zais.pair.com STAFF@zais.pair.com (or in other cases than mine -> from@server.com) Instead of: From: ywamse.com STAFF ---- Manual Page -- http://www.php.net/manual/en/ref.mail.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34567 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34567&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34567&report=yes

« previous php.notes (#53042) next »