12.4.22.8   MAIL cc_add

Description:   Adds another email address that the mail will be sent as "carbon copy", in a form like recipient@company.com 

Syntax:

tcl:              MAIL {cc_add=recipient2@mailserver.com}

JScript:        MAIL("cc_add=recipient2@mailserver.com");              

VB Script:      MAIL "cc_add=recipient2@mailserver.com" 
  

Argument:     "Chad", valid email address
 

See Also:      MAIL,  MAIL "to_add", MAIL "bcc"

 

Examples:      MAIL cc_add=webaccess2@yourcompany.com
MAIL "cc_add=webacces2@yourcompany.com"
MAIL {cc_add=Supervisor1 <info@yourcompany.com}

MAIL {cc_add=@tag2}

MAIL "cc_add=$variable"

A valid email address should specify the email address that mail will be sent as`CC', in a form like tcarter@yourcompany.com or -from "Tom Carter <tcarter@yourcompany.com>". The address is added to the "CC:" header and to the list of recipients. Can be repeated as many times as required to build a list of multiple recipients

Must be specified before each MAIL "send" command. MAIL "send" clears the buffer of any previous MAIL "cc_add" entry.