Message

data class Message(val title: String, val content: String, val recipients: List<String> = listOf(), val cc: List<String> = listOf(), val bcc: List<String> = listOf(), val attachments: List<<Error class: unknown class>> = listOf())

Represents an email message.

Constructors

Link copied to clipboard
constructor(title: String, content: String, recipients: List<String> = listOf(), cc: List<String> = listOf(), bcc: List<String> = listOf(), attachments: List<<Error class: unknown class>> = listOf())

Properties

Link copied to clipboard
val attachments: List<<Error class: unknown class>>

File paths of the attachments

Link copied to clipboard

Blind carbon copy recipients in the form foo@bar.org

Link copied to clipboard
val cc: List<String>

Carbon copy recipients in the form foo@bar.org

Link copied to clipboard

Unformatted text content

Link copied to clipboard

Recipients in the form foo@bar.org

Link copied to clipboard

Title field of the email message

Functions

Link copied to clipboard
fun Message.send(config: MailConfig, debug: Boolean)