Question : Exchange 2007 Anonymous for PHP Script Sending

I have an Windows 2003 x64 w/SP2 server running Exchange 2007 w/SP2. Everything is working very well except for a PHP sending issue.

The same server runs a website which uses PHP (via IIS - not Apache). I am unable to send e-mail from my PHP script as the SMTP server refuses to send e-mail anonymously (outside Exchange).

I have done a LOT of research on this; however before I screw up a perfectly working server I want to know what the proper way is to accomplish using Exchange SMTP with my PHP script.

My server does NOT run Edge - just Hub Transport.

At present the solution I am using is to create a Receive Connector class for the IP address that the PHP runs from (different than the main server .235 (main server) .242 (PHP script IP). However I had to include smtp authentication in my scripts to get things to work. I would rather not include SMTP credentials in the PHP script source.

And for the question:

How does one configure Exchange to send e-mail via SMTP using a PHP script with the authentication used being purely an IP address or domain?

Answer : Exchange 2007 Anonymous for PHP Script Sending

What happens if you uncheck all the authentication mechanisms and then make sure anonymous users is checked on the permissions groups?

Obviously if you do this you would need to make sure that connector was restricted to the IP address of the server that is sending to it.

Shouldn't the SMTP bit on your PHP.INI file be the exchange servers IP address?
Random Solutions  
 
programming4us programming4us