> $recipient = $email;
>   $headers = "From: Sirplus.tv <[EMAIL PROTECTED]>\n";
>   $headers .= "X-Sender: <[EMAIL PROTECTED]>\n";
> 
> This grabs the email address out of MySql and send them the email that
> would be following.  However, I want a copy to go to me as well.  What
> line of code to I input.

$headers .= "Bcc: [EMAIL PROTECTED]\n";

This will set a Bcc header, so you'll see the mail, but the recipient 
won't know it.

Jason

-- 
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