Mail

constructor(receivers: List<String>, subject: String, body: String? = null, bodyIsHtml: Boolean = false, attachments: List<MailAttachmentFile> = emptyList())

Parameters

receivers

The email addresses of the receivers

subject

The subject of the email

body

The body of the email

bodyIsHtml

Whether the body is in HTML format

attachments

The files to be attached to the email