Template

data class Template(val htmlPart: String? = null, val subjectPart: String, val templateName: String? = null, val textPart: String? = null)

The content of the email, composed of a subject line, an HTML part, and a text-only part

Constructors

Link copied to clipboard
constructor(htmlPart: String? = null, subjectPart: String, templateName: String? = null, textPart: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val htmlPart: String? = null

The HTML body of the email.

Link copied to clipboard

The subject line of the email.

Link copied to clipboard
val templateName: String? = null

The name of the template.

Link copied to clipboard
val textPart: String? = null

The email body that is visible to recipients whose email clients do not display HTML content.