JmapConfig

class JmapConfig(val sessionUrl: String, val auth: JmapAuth, val httpClient: HttpClient? = null, val identityId: String? = null)(source)

Settings of a JmapMailer.

Constructors

Link copied to clipboard
constructor(sessionUrl: String, auth: JmapAuth, httpClient: HttpClient? = null, identityId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val httpClient: HttpClient?

The client used for all requests; one with the default engine is created (and closed) if null.

Link copied to clipboard

The identity to send with; by default the identity matching the email's From address.

Link copied to clipboard

The JMAP session resource, e.g. https://api.fastmail.com/jmap/session.