getPreviewParameters()
Overview
public struct function getPreviewParameters(
required string template
, required string recipientType
)
Returns preview params (for use in replacing tokens in subject and body) for the given email template and recipient type.
Arguments
Name | Type | Required | Description |
---|---|---|---|
template | string | Yes | ID of the template of the email that is being prepared |
recipientType | string | Yes | ID of the recipient type of the email that is being prepared |