Re: Quick mail function help.... please!!!
| From: | Jason Bell | Date: | Mon, 17 Sep 2001 16:30:42 +0000 |
| Subject: | Re: Quick mail function help.... please!!! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67620@lists.php.net to get a copy of this message | ||
Here is how I send email, please note the From, and X-Sender line:
$recipient .= "$recipient";
$subject = "$SubjectLine";
$message .= "$YourMessageHere";
$message .= "$More MessageHere";
$headers .= "From: webmaster@barkingrat.com <webmaster@barkingrat.com>\n";
$headers .= "X-Sender: <webmaster@barkingrat.com>\n";
$headers .= "X-Mailer: PHP\n";
$headers .= "X-Priority: 1\n";
$headers .= "Return-Path: <webmaster@barkingrat.com>\n";
$headers .= "bcc:newaccounts@barkingrat.com\n";
mail($recipient, $subject, $message, $headers);
----- Original Message -----
From: "Kyle Smith" <dbzno1fan@hotmail.com>
To: <php-general@lists.php.net>
Sent: Monday, September 17, 2001 5:04 PM
Subject: Re: [PHP] Quick mail function help.... please!!!
> please someone please! ive been through the manual and i dont know
anywhere
> else to look so someone please gimme a kick in the right direction?
>
>
> -lk6-
> http://www.StupeedStudios.f2s.com
> Home of the burning lego man!
>
> ICQ: 115852509
> MSN: dbzno1fan@hotmail.com
> AIM: legokiller666
>
>
> ----- Original Message -----
> From: "Kyle Smith" <dbzno1fan@hotmail.com>
> To: <php-general@lists.php.net>
> Sent: Sunday, September 16, 2001 9:09 PM
> Subject: [PHP] Quick mail function help.... please!!!
>
>
> Can someone please show me how to change the reply address in the mail
> function (and the from address) cause i have a script im making for a
> mailing list and the script in the manual doesnt work cause it has loads
of
> different code aswell :(
>
>
> -lk6-
> http://www.StupeedStudios.f2s.com
> Home of the burning lego man!
>
> ICQ: 115852509
> MSN: dbzno1fan@hotmail.com
> AIM: legokiller666
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>