note 110329 added to function.mail

From: Date: Thu, 11 Oct 2012 12:13:23 +0000
Subject: note 110329 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-191252@lists.php.net to get a copy of this message
When using the PHP mail() function with IIS 6 on Windows Server 2003, check your "Relay" settings on the SMTP Virtual Server in IIS. If you grant access to 127.0.0.1 and set then set your php.ini SMTP to the same IP address (along with setting the same port 25), you should have success in sending mail. I'm using PHP 5.3 and have had success with this configuration and did not have to define the "sendmail_from" setting in our php.ini file. ---- Server IP: 69.147.83.199 Probable Submitter: 76.30.205.159 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/110329 Del: integrated -- https://master.php.net/note/delete/110329/integrated Del: useless -- https://master.php.net/note/delete/110329/useless Del: bad code -- https://master.php.net/note/delete/110329/bad+code Del: spam -- https://master.php.net/note/delete/110329/spam Del: non-english -- https://master.php.net/note/delete/110329/non-english Del: in docs -- https://master.php.net/note/delete/110329/in+docs Del: other reasons-- https://master.php.net/note/delete/110329 Reject -- https://master.php.net/note/reject/110329 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#191252) next »