Skip to main content
Table of Contents

TTMSFNCCloudSendGridMailTemplate.AddSubstitution Method

Registers a substitution token and its replacement lines.

API unit family: TMSFNCCloudSendGrid Declaring type: TTMSFNCCloudSendGridMailTemplate

Syntax

FMX.TMSFNCCloudSendGrid.hppPascalC++
procedure AddSubstitution(AKey: string; AValue: TStringList);
void __fastcall AddSubstitution(System::UnicodeString AKey, System::Classes::TStringList* AValue);

Parameters

Name Description
AKey Token key to replace in the message body.
AValue Replacement lines for the token.