sendMail

suspend fun sendMail(recipients: String, subject: String, content: String, contentMimeType: String = "text/plain", attachments: List<<ERROR CLASS><ByteArray, String, String>> = emptyList()): <ERROR CLASS><<ERROR CLASS>>

Create a mail with a plain text or HTML content and queue it for sending.

Parameters

recipients

Recipients of the mail, RFC822 syntax (comma separated addresses).

subject

Subject of the mail.

content

Content of the mail.

contentMimeType

Mime type of the content, defaults to "text/plain".

attachments

Attachments of the mail, if any: (data, name, mimeType).