note 72249 added to ref.mail

From: Date: Tue, 09 Jan 2007 13:52:06 +0000
Subject: note 72249 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-121487@lists.php.net to get a copy of this message
Please note that the 'sendmail_from' parameter is used also on php running under linux, not only under Windows as stated on the documentation. Webmail services and some spam washer software kill messages without the "From" field properly set. Try the following: ini_set(sendmail_from,$fromaddress); // the INI lines are to force the From Address to be used ! mail($emailaddress, $emailsubject, $msg, $headers); ...as correctly reported by nielsvandenberge at hotmail dot com. For further info: fpiraneo at gmail dot com ---- Server IP: 66.163.161.117 Probable Submitter: 88.149.181.52 ---- Manual Page -- http://www.php.net/manual/en/ref.mail.php Edit -- https://master.php.net/note/edit/72249 Del: integrated -- https://master.php.net/note/delete/72249/integrated Del: useless -- https://master.php.net/note/delete/72249/useless Del: bad code -- https://master.php.net/note/delete/72249/bad+code Del: spam -- https://master.php.net/note/delete/72249/spam Del: non-english -- https://master.php.net/note/delete/72249/non-english Del: in docs -- https://master.php.net/note/delete/72249/in+docs Del: other reasons-- https://master.php.net/note/delete/72249 Reject -- https://master.php.net/note/reject/72249 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#121487) next »