MAIL -> boolean addcc ( string address [, string name [, string charset [, string encoding ]]] )
Return TRUE if has been successfully added, FALSE if not. string address format is "localpart@domainpart.tld". Default values are: string charset: utf-8 string encoding: quoted-printable string encoding possible values are: quoted-printable or base64 Example (verification):

$m = new MAIL;

// add "Cc" mail address and name
$c = $m->AddCc('localpart@domainpart.tld', 'Client Name');

echo $c ? 'added' : 'error';
Example (deprecated):

$m = new MAIL;

// add "Cc" mail address, name, charset and encoding
$m->Cc[] = array(
'address'  => 'localpart@domainpart.tld', // required
'name'     => 'Client Name', // optional
'charset'  => 'utf-8', // optional
'encoding' => 'base64' // optional
);
// add another "Cc" mail address
$m->Cc[] = array('address' => 'localpart@domainpart2.tld');

See Also: MAIL->DelCc(), FUNC::is_mail() [ Comments ] Last update: Monday, June 11, 2007