You can add it in the headers.  In fact you can add any info as long as
they abide by the RFC822.

I took if from the function.mail.php

/* additional header pieces for errors, From cc's, bcc's, etc */

$headers .= "From: Birthday Reminder <[EMAIL PROTECTED]>\n";
$headers .= "X-Sender: <[EMAIL PROTECTED]>\n";
$headers .= "X-Mailer: PHP\n"; // mailer
$headers .= "X-Priority: 1\n"; // Urgent message!
$headers .= "Return-Path: <[EMAIL PROTECTED]>\n";  // Return path for
errors
$headers .= "cc:[EMAIL PROTECTED]\n"; // CC to
$headers .= "bcc:[EMAIL PROTECTED], [EMAIL PROTECTED]\n"; // BCCs
to

/* and now mail it */
mail($recipient, $subject, $message, $headers);

Adrian

On Wed, 25 Jul 2001, Jack wrote:

> Dear folks,
> I am doing the email using mail() command. I wonder if there is anyone can tell me 
>how do I do the priority attached with the message so that the mail get sent out with 
>different priority status.
> Any advice will be appreciated.
> Jack
> [EMAIL PROTECTED]
> "Love your enemies, it will drive them nuts"
> 


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