SetCarbonCopyRcpts

Set Carbon Copy recipients' email address(es).

Syntax

bool SetCarbonCopyRcpts (StrParam)

Parameters

Email addresses to receive a copy of the email as a carbon copy. You can enter multiple email addresses separated by commas.

Returns

False if you do not enter an email addresses parameter, if the address is rejected by the mail system or if the email object cannot be initialized. Otherwise, True.

Invalid email addresses may not be reported until SendEMail is called.

Level

All levels.

Details

Adds addresses to the Cc (Carbon Copy) portion of the email’s header.
Example:
SetRecipients("lisa@adomain.com")
SetCarbonCopyRcpts("cindy@anotherdomain.org")