Entry
How can I configure PHP to use mail() function with a local IIS SMTP Server ?
Mar 12th, 2002 08:57
Andy Kraut, Benjamin Lupu, http://www.php.net/manual/en/ref.mail.php
If you look at the manual page for the mail command, you will see that
there is a configuration directive for SMTP server, which would allow
you to set the hostname for the SMTP server you wish to use. It
shouldn't matter whether it's the IIS server or not. If it's running
on the local machine, you would want to set the SMTP directive
to 'localhost'.