Jump to content


Photo

PHP mail()


  • Please log in to reply
1 reply to this topic

#1 tbailey

tbailey
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 23 May 2006 - 07:46 PM

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\" /]

#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 23 May 2006 - 08:00 PM

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?

Info: PHP Manual





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users