Mailer

interface Mailer(source)

Delivers emails, e.g. via SMTP or JMAP.

Functions

Link copied to clipboard
abstract suspend fun close()

Release all resources, such as open connections.

Link copied to clipboard
abstract suspend fun send(email: Email): SendReceipt

Send email and suspend until the server accepted it.