EmailContent

An object that defines the entire content of the email, including the message headers, body content, and attachments. For a simple email message, you specify the subject and provide both text and HTML versions of the message body. You can also add attachments to simple and templated messages. For a raw message, you provide a complete MIME-formatted message, which can include custom headers and attachments.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The raw email message. The message has to meet the following criteria:

Link copied to clipboard

The simple email message. The message consists of a subject, message body and attachments list.

Link copied to clipboard

The template to use for the email message.

Functions

Link copied to clipboard
inline fun copy(block: EmailContent.Builder.() -> Unit = {}): EmailContent
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String