3rd post. w00t!
I'm having trouble with the mail() function in PHP. We are running PHP on MS IIS 6.0, and the SMTP mail server runs on a different server than the web server. I entered the IP address of the SMTP server into the php.ini, but I am still not getting any success with the mail function. It appears to work, but I never receive any mail.
1) Is there a error syntax I can use to debug this? E.g., if it doesn't send mail, say why such as "Server not found"
2) Has anyone worked in a multi-server environment and had this problem?
Your input is always greatly appreciated.