Skip to main content
Table of Contents

TTMSFNCCloudSendGridMailTemplate.AddCC Method

Creates an empty carbon-copy recipient, adds it to the CC list and returns it.

API unit family: TMSFNCCloudSendGrid Declaring type: TTMSFNCCloudSendGridMailTemplate

Overloads

Overload 1

Creates an empty carbon-copy recipient, adds it to the CC list and returns it.

FMX.TMSFNCCloudSendGrid.hppPascalC++
function AddCC: TTMSFNCCloudSendGridCC; overload;
TTMSFNCCloudSendGridCC* __fastcall AddCC()/* overload */;

Returns

The newly added CC recipient.

Overload 2

Adds a carbon-copy recipient with the given address and optional display name.

FMX.TMSFNCCloudSendGrid.hppPascalC++
function AddCC(AEmailAddress: string; AName: string = ''): TTMSFNCCloudSendGridCC; overload;
TTMSFNCCloudSendGridCC* __fastcall AddCC(System::UnicodeString AEmailAddress, System::UnicodeString AName = System::UnicodeString())/* overload */;

Parameters

Name Description
AEmailAddress Email address of the CC recipient.
AName Optional display name of the CC recipient.

Returns

The newly added CC recipient.