Page 1 of 1

CC field in PHPMailer on Centos

Posted: Fri May 15, 2009 11:42 am
by kabucek
hi @LL,

we are using PHPMailer for sending response emails to our form,
and we want to add CC field to it but for some reason I can't get it to work.
This is CentOS Server.
Here is the part of the script:

Code: Select all

 
    $PHPMailerLink->AddAddress($destEmailAdr, $destEmailName);
    $PHPMailerLink->AddCC("WebTester <me@me.com>" );
     $PHPMailerLink->AddCC($ccEmailAdr, $ccEmailName);
        $PHPMailerLink->headers .= "Cc: me@me.com";
    $PHPMailerLink->From=$fromEmailAdr;
                                                        $PHPMailerLink->FromName=$fromName;
    $PHPMailerLink->Subject = $subjectString;
    $PHPMailerLink->Body    = $messageString;
 

All CC commands doesn't do anything.
On this page they say that CC is not supported in Linux,

http://www.bahamasgateway.com/shop/inc/ ... ar,%20var)

is that true?
Is there a way to make it work?

Thanks