Skip to main content
Table of Contents

TTMSFNCCloudSendGridMailTemplate.AddBCC Method

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

API unit family: TMSFNCCloudSendGrid Declaring type: TTMSFNCCloudSendGridMailTemplate

Overloads

Overload 1

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

FMX.TMSFNCCloudSendGrid.hppPascalC++
function AddBCC: TTMSFNCCloudSendGridBCC; overload;
TTMSFNCCloudSendGridBCC* __fastcall AddBCC()/* overload */;

Returns

The newly added BCC recipient.

Overload 2

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

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

Parameters

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

Returns

The newly added BCC recipient.