Hey guys,

I am trying to send an email from a normal php file directly to an internal MS Exchange mail server which is set to only accept email from port 25. SMTP is only allowed to go through the MS Exchange server because of router access lists.

So what we have is a web server (linux) running php5 and we are using the normal php mail() function. But, what we need to do is relay the email to the MS Exchange server.

So the kicker here is this: We cannot figure out how the hell to get the email to bounce over to the MS exchange server... from the web server.

Is this something we need to manage within php.ini or directly in our php file, or something that needs to get handled elsewhere.

Any thoughts? Not clear?