Re: Mail

From: Date: Fri, 21 Jul 2006 14:33:46 +0000
Subject: Re: Mail
References: 1 2 3 4 5 6  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24720@lists.php.net to get a copy of this message
On 7/21/06, Noel da Costa <noel.dacosta@magharl.co.uk> wrote:
Thanks, And how do I set a Cc address?.. I've tried this: $recipients = array('To'=>'me@mo.mu', 'Cc'=>'u@yo.sushi'); Which sort of works... it send the email, but the cc address get's added to the To: field instead of to the Cc: field. Is there a way of getting it into the cc field?
You put the Cc in the headers, not the recipients.
On 21 Jul 2006, at 13:44, Massimiliano Arione wrote: Noel da Costa wrote:
The examples on the PEAR website show how to set up the recipient addresses for the email. What they don't show is how to set the display name for each of those addresses... How do I set this? eg. To: Noel da Costa <noel.dacosta@magharl.co.uk>
Just like this: $foo = '"Noel da Costa" <noel.dacosta@magharl.co.uk>' -- Massimiliano Arione http://garakkio.altervista.org ___________________________________________________________________ This message has been scanned by the Datanet MessageScreen Service. For more information please visit http://www.MessageScreen.co.uk -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Justin Patrin

« previous php.pear.general (#24720) next »