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.

function AddCC: TTMSFNCCloudSendGridCC; overload;

Returns

The newly added CC recipient.

Overload 2

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

function AddCC(AEmailAddress: string; AName: string = ''): TTMSFNCCloudSendGridCC; 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.