JmapMailer

class JmapMailer(val config: JmapConfig) : Mailer(source)

Sends emails via JMAP (RFC 8620, RFC 8621): the rendered message is uploaded, imported into the Drafts mailbox and submitted with EmailSubmission/set, which moves it to the Sent mailbox.

Works on every platform with a Ktor client engine, including browsers.

Constructors

Link copied to clipboard
constructor(config: JmapConfig)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun close()
Link copied to clipboard
open suspend override fun send(email: Email): SendReceipt