You can add further variables to the end of your current mail() function to
specify the name of who its from, and the email address that they will send
the message to when they use the reply function on their email program, like
this:

mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine 3",
"From:Your Name\nReply-To: [EMAIL PROTECTED]");

"Diana Castillo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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 ?
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to