An update, still no solution. Any help greatly appreciated!
I have a PHP script that emails a user to let them know that they were approved and that they can now login to the db. The script works fine, no errors, when sent to people internally at our company (using the same mailserver and behind the same firewall), but throws up an error when it attempts to email a user outside. The error is:
Warning: Server Error in c:\inetpub\wwwroot\alumni\directory\go.php on line 32
Where 32 is the line that has the mail function. I figure it's not my script as it emails fine internally and its a pretty basic script with just email address, message subject and message body that I've used dozens of times before for mailing things internally here and from other places. It was suggested to me that the mail server doesn't allow external mail relaying without an authorized user sending it , but the server admin says that is not the case and it must be something between the way PHP and SMTP interact and that the Microsoft sources tell nothing about how to fix that! The one thing I could do was check using phpinfo and SMTP is set to 10.10.0.5 - our mail server.
The admin is very anti-php and open source and not willing to go out of the way to find a solution. I am not allowed access to the server and telnet is blocked. Any suggestions on what might be the problem? Anything that I can suggest to that the admin could check? Could it be the firewall? Thanks again.