logEmailContent()
Overview
public void function logEmailContent(
required string template
, required string id
, required string htmlBody
, required string textBody
)
Saves the email content of a sent email, to be used to view exact content sent, and for resending the original email
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| template | string | Yes | ID of the email template |
| id | string | Yes | ID of the email template log record |
| htmlBody | string | Yes | HTML content of the email |
| textBody | string | Yes | Plain-text content of the email |