ag.orbia.common.infrastructure.email.Email.kt Maven / Gradle / Ivy
package ag.orbia.common.infrastructure.email
class Email (
/**
* Subject of the email.
*/
val subject: String = "",
/**
* HTML body content of the email.
*/
val body: HtmlBody = HtmlBody(),
/**
* Email address that is sending this message.
*/
val from: String = "",
/**
* Email address that will receive any reply to the sent email.
*/
val replyTo: Collection = emptyList(),
/**
* List of people that will receive the email.
*/
val to: Collection = emptyList(),
/**
* List of people that will receive a copy of the email.
*/
val cc: Collection = emptyList(),
/**
* List of people that will receive a copy of the email but won't be listed as a recipient.
*/
val bcc: Collection = emptyList(),
/**
* List of files that will be attached to the email.
*/
val attachments: Collection = emptyList(),
/**
* Name of the configuration set that has to be used
*/
var configurationSetName: String? = null
)