Jump to content

Archived

This topic is now archived and is closed to further replies.

tbailey

PHP mail()

Recommended Posts

Hi,

Have brought this issue here before, but dropped it.... time to pick it up again.

I have Win2003 webserver. PHP. IIS6.

I have some forms that use PHP mail(). My php.ini is correctly configured to point to my SMTP server (another box). However, it for some reason DOES NOT WORK! No emails are generated from the forms. The scripts in the forms are CORRECT. Please do bother replying if you're going to tell me to check my coding on the scripts, as this is NOT the problem (they have been tested on numerous other machines and looked at by contract programmers).

Is there anything else I need to do? Have I missed something with my system config?

I have also tried configuring php.ini to point to localhost (I set up the smtp service in IIS to test this) but to no avail. I changed php.ini back to the smtp server we use in our org.

Thanks in advance. I know it should be simple, but the solution doesn't seem to be presenting itself. [img src=\"style_emoticons/[#EMO_DIR#]/wink.gif\" style=\"vertical-align:middle\" emoid=\":wink:\" border=\"0\" alt=\"wink.gif\" /]

Share this post


Link to post
Share on other sites
I assume you've read through the help files of both the SMTP server and PHP? I've been through this battle and ended up switching to a SMTP server that our IT group setup in another server farm. Can you post your php.ini settings?

Share this post


Link to post
Share on other sites

×

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.