setContext()
Overview
public void function setContext(
required string recipientType
, required string recipientId
, string templateId = ""
, struct template
)
Sets the context for the email send.
Arguments
Name | Type | Required | Description |
---|---|---|---|
recipientType | string | Yes | The email system recipient type that is being sent to |
recipientId | string | Yes | The ID of the recipient that is being sent to |
templateId | string | No (default="") | The ID of the template being rendered/sent |
template | struct | No | Struct with details of the template being rendered/sent |