Re: using mail
| From: | Kurt Lieber | Date: | Mon, 12 Nov 2001 22:55:55 +0000 |
| Subject: | Re: using mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74334@lists.php.net to get a copy of this message | ||
Did you RTFM?
http://www.php.net/manual/en/function.mail.php
Just create a variable and input it as an extra header.
$from = "from: someone@somewhere.com\r\n" ;
mail($to,$subject,$message,$from);
On Monday 12 November 2001 02:41 pm, you wrote:
> Hello,
>
> I am using the mail() function right now to send e-mails. Is there a
> way I can dynamically change where it says the e-mail is from?
>
> Thanks
> Brandon