note 93977 added to function.mail

From: Date: Fri, 09 Oct 2009 12:06:55 +0000
Subject: note 93977 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-161586@lists.php.net to get a copy of this message
To solve the problem with "From: alexandre <alex@example.com>" headers in Windows php implementation use ini_set("sendmail_from", ""); before calling mail() function. The solution was found by user giganticego 08/05/2008 05:24 AM on http://forums.windowsitpro.com/web/forum/messageview.aspx ?catid=41&threadid=43365&enterthread=y For me it works too! ---- Server IP: 195.54.192.44 Probable Submitter: 94.25.231.25 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/93977 Del: integrated -- https://master.php.net/note/delete/93977/integrated Del: useless -- https://master.php.net/note/delete/93977/useless Del: bad code -- https://master.php.net/note/delete/93977/bad+code Del: spam -- https://master.php.net/note/delete/93977/spam Del: non-english -- https://master.php.net/note/delete/93977/non-english Del: in docs -- https://master.php.net/note/delete/93977/in+docs Del: other reasons-- https://master.php.net/note/delete/93977 Reject -- https://master.php.net/note/reject/93977 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161586) next »