Page 1 of 1

php mail() sender? www-data??

Posted: Sun Jul 06, 2008 2:13 pm
by josh22x
How do I change my php mai() or server so that the sender from my php mail form does not say www-data@....?

Thanks!
Josh

Re: php mail() sender? www-data??

Posted: Sun Jul 06, 2008 5:10 pm
by Eran
You can pass it as a header in the function itself or in the php.ini. See 'additional headers' in the following link - http://www.php.net/function.mail