Connecting Tech Pros Worldwide Forums | Help | Site Map

Adding additional cc to PEAR's mail.php

techjohnny@gmail.com
Guest
 
Posts: n/a
#1: Mar 4 '08
I have the following code, I can send e-mail to:, cc:, and bcc:, but
what if I want to add another cc? I'm using PEAR's Mail.php.


$hdrs['From']= $From;
$hdrs['To']= $To;
$hdrs['Subject']= $Subject;

$recipients = $To.", ". $Cc.", ". $Bcc;


Thanks,

--TJ

Rik Wasmus
Guest
 
Posts: n/a
#2: Mar 5 '08

re: Adding additional cc to PEAR's mail.php


On Tue, 04 Mar 2008 21:42:04 +0100, techjohnny@gmail.com
<techjohnny@gmail.comwrote:
Quote:
I have the following code, I can send e-mail to:, cc:, and bcc:, but
what if I want to add another cc? I'm using PEAR's Mail.php.
>
>
$hdrs['From']= $From;
$hdrs['To']= $To;
$hdrs['Subject']= $Subject;
>
$recipients = $To.", ". $Cc.", ". $Bcc;
See the comment of arminfrey at
<http://pear.php.net/manual/en/package.mail.mail.send.php>. Haven't tested
it (I normally have no use for PEAR MAIL, but it seems to be your answer....
--
Rik Wasmus
Closed Thread