Re: mail function
| From: | Matthew Ward | Date: | Sun, 05 May 2002 22:31:53 +0000 |
| Subject: | Re: mail function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96224@lists.php.net to get a copy of this message | ||
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("joecool@example.com", "My Subject", "Line 1\nLine 2\nLine 3",
"From:Your Name\nReply-To: senders@email.address");
"Diana Castillo" <diana.castillo@nvtechnologies.com> wrote in message
news:20020505220213.16877.qmail@pb1.pair.com...
> Hi, if I use the mail function, as in :
> mail("joecool@example.com", "My Subject", "Line 1\nLine 2\nLine
> 3");
> The mail comes from "Webserver" How can I change the from ?
>
>
>
>