Message

class Message

Represents the email message that you're sending. The Message object consists of a subject line and a message body.

Types

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

Properties

Link copied to clipboard
val body: Body?

The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both.

Link copied to clipboard

The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047.

Functions

Link copied to clipboard
inline fun copy(block: Message.Builder.() -> Unit = {}): Message
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