Adds tokens to the message context object.
The tokens to add.
The updated message context object with added tokens.
Appends an attachment to the message.
The file instance representing the attachment.
The updated message context object with the attachment appended.
Retrieves the BCC email addresses configured for the message.
The BCC email addresses as a string.
Retrieves the recipient's email address.
The recipient's email address as a string.
Sets the BCC email address for the message.
The name of the message template to set BCC for.
The updated message context object with the BCC email address set.
Sets the body content of the message.
The body content to set.
The updated message context object with the body set.
Sets the email account ID for sending the message.
The ID of the email account to use.
The updated message context object with the email account ID set.
Sets the language ID for the message.
The ID of the language to use.
The updated message context object with the language ID set.
Sets the subject of the message.
The subject to set.
The updated message context object with the subject set.
Sets the recipient's email address.
The email address of the recipient.
The updated message context object with the recipient's email set.
Sets the recipient's name.
The name of the recipient.
The updated message context object with the recipient's name set.
Builder object for managing message tokens.
Sets the message body using a template identified by its name.
The name of the message template to use.
The updated message context object with the template applied to the body.
Interface representing the message context object.