Table of Contents

TTMSFNCCloudSendGridMailTemplate.AddContent Method

Adds a content body to the message and returns it.

API unit family: TMSFNCCloudSendGrid Declaring type: TTMSFNCCloudSendGridMailTemplate

Syntax

function AddContent(AContent: String = ''; AType: String=''): TTMSFNCCloudSendGridContent;

Parameters

Name Description
AContent Body text of the content part.
AType MIME type of the content, for example text/html.

Returns

The newly added content part.