richardstan Posted September 19, 2008 Share Posted September 19, 2008 Hi, i have Apache HTTP Server and IIS installed on a machine with the address 192.168.1.66 on my local network. How do i configure my IIS to work so that the mail function which runs in PHP scripts on the machine functions properly. I have set the SMTP variable in the php.ini file to 192.168.1.66 and allowed relays from 127.0.0.1 in IIS but with no luck. Help would be really appreciated. Thanks Richad. Quote Link to comment https://forums.phpfreaks.com/topic/124884-configuring-iis/ Share on other sites More sharing options...
BioBob Posted November 11, 2008 Share Posted November 11, 2008 Are you running a mail server on 1.66 also? PHP's mail function tries to communicate with a mail server using SMTP (Simple Mail Transport Protocol, IE a mail server) to send mail, and sends it according to the php.ini for port and whether or not authentication is enabled... If you have a mail server running, it should go right thru. There are some free mail server programs you can run if you want to use php over the mail server as it should be easily transportable from one mail server to another... Quote Link to comment https://forums.phpfreaks.com/topic/124884-configuring-iis/#findComment-687603 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.