if I do the following in a php page
if (mail($ADDR,"Testing","This is a test"))
the mail gets sent from firstname.lastname@example.org
. 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.