Abstract Optional copyFrom: MessageOptional BCCRecipientsRecipients to send a copy of the message to without revealing their email addresses to the other recipients, typically an email address
Optional BodyThe body of the message, used if BodyTemplate is not provided.
Optional BodyOptional, when provided, Body is ignored and the template is used to render the message. In addition, if BodyTemplate is provided it will be used to render the Body and if the template has HTML content it will also be used to render the HTMLBody
Optional CCRecipientsRecipients to send a copy of the message to, typically an email address
Optional ContextOptional, any context data that is needed to render the message template
The sender of the message, typically an email address but can be anything that is provider-specific for example for a provider that is a social media provider, it might be a user's social media handle
Optional FromThe name of the sender, typically the display name of the email address
Optional HTMLBodyThe HTML body of the message
Optional HTMLBodyOptional, when provided, HTMLBody is ignored and the template is used to render the message. This OVERRIDES the BodyTemplate's HTML content even if BodyTemplate is provided. This allows for flexibility in that you can specify a completely different HTMLBodyTemplate and not just relay on the TemplateContent of the BodyTemplate having an HTML option.
Optional HeadersOptional, any headers to add to the message
The type of message to send
The body of the message after processing
The HTML body of the message after processing
The subject of the message after processing
Optional SendThe date and time to send the message, if not provided the message will be sent immediately
Optional SubjectThe subject line for the message, used if SubjectTemplate is not provided and only supported by some providers
Optional SubjectOptional, when provided, Subject is ignored and the template is used to render the message
The recipient of the message, typically an email address but can be anything that is provider-specific for example for a provider that is a social media provider, it might be a user's social media handle
Abstract ProcessOptional forceTemplateRefresh: booleanOptional contextUser: UserInfo
This class is used to hold the results of a pre-processed message. This is used to hold the results of processing a message, for example, rendering a template.