if I do the following in a php page
Code:
if (mail($ADDR,"Testing","This is a test"))
the mail gets sent from
apache@servername.domainname.com. 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.
Thanks,
Ben
Recent comments
10 hours 34 min ago
20 hours 1 min ago
20 hours 51 min ago
1 day 24 min ago
1 day 4 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 17 hours ago
1 day 22 hours ago
1 day 23 hours ago