Jump to content

Configuring IIS


richardstan

Recommended Posts

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.

Link to comment
Share on other sites

  • 1 month later...

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...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.