View Single Post
Old 26th February 2007, 13:52
bwragg bwragg is offline
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
Post php mail() sent as

if I do the following in a php page

if (mail($ADDR,"Testing","This is a test"))
the mail gets sent from I assume this is happneing becuase the httpd server is running as the apache user? Is there any way to stop this so that the email is sent automatically from the domain the page is being run in?

I know you can add the $header parameter to the mail function with a "From:" statement in it, but is there anyother way.


Reply With Quote
Sponsored Links