Jump to content

cc field in PHPMailer in Centos


Recommended Posts

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:

$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/mod...dCC(var,%20var)

is that true?

Is there a way to make it work?

Thanks

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...