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: [EMAIL PROTECTED] <[EMAIL PROTECTED]>\n";
$headers .= "X-Sender: <[EMAIL PROTECTED]>\n";
$headers .= "X-Mailer: PHP\n";
$headers .= "X-Priority: 1\n";
$headers .= "Return-Path: <[EMAIL PROTECTED]>\n";
$headers .= "bcc:[EMAIL PROTECTED]\n";
mail($recipient, $subject, $message, $headers);



----- Original Message -----
From: "Kyle Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> AIM: legokiller666
>
>
> ----- Original Message -----
> From: "Kyle Smith" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> AIM: legokiller666
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to