RealmSmtpServer

data class RealmSmtpServer(val auth: RealmSmtpServerAuth? = null, val envelopeFrom: String? = null, val from: String, val fromDisplayName: String? = null, val host: String, val port: String? = null, val replyTo: String? = null, val replyToDisplayName: String? = null, val ssl: Boolean? = null, val starttls: Boolean? = null)

Constructors

Link copied to clipboard
constructor(auth: RealmSmtpServerAuth? = null, envelopeFrom: String? = null, from: String, fromDisplayName: String? = null, host: String, port: String? = null, replyTo: String? = null, replyToDisplayName: String? = null, ssl: Boolean? = null, starttls: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Enables authentication to the SMTP server. This block supports the following arguments:

Link copied to clipboard
val envelopeFrom: String? = null

The email address uses for bounces.

Link copied to clipboard

The email address for the sender.

Link copied to clipboard
val fromDisplayName: String? = null

The display name of the sender email address.

Link copied to clipboard

The host of the SMTP server.

Link copied to clipboard
val port: String? = null

The port of the SMTP server (defaults to 25).

Link copied to clipboard
val replyTo: String? = null

The "reply to" email address.

Link copied to clipboard

The display name of the "reply to" email address.

Link copied to clipboard
val ssl: Boolean? = null

When true, enables SSL. Defaults to false.

Link copied to clipboard
val starttls: Boolean? = null

When true, enables StartTLS. Defaults to false.