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

NameTypeRequiredDescription
templatestringYesID of the email template
idstringYesID of the email template log record
htmlBodystringYesHTML content of the email
textBodystringYesPlain-text content of the email