note 110329 deleted from function.mail by crell
| From: | crell@php.net | Date: | Tue, 12 Apr 2022 01:10:36 +0000 |
| Subject: | note 110329 deleted from function.mail by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-218238@lists.php.net to get a copy of this message | ||
Note Submitter: bburch at bouncingpixel dot com
----
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.