Diana Castillo wrote: Diana Castillo wrote: > Hi, if I use the mail function, as in : > mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine 3"); > The mail comes from "Webserver" How can I change the from ? > > > >
Just as the manual says, the 4th parameter which is optional allows you to specify additional headers. Try mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine 3","From: user@domain"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php