commonMain.raven.SendEmailParams.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of raven-email-core-jvm Show documentation
Show all versions of raven-email-core-jvm Show documentation
An abstraction form sending emails
package raven
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
@Serializable
data class SendEmailParams(
val subject: String,
val from: Address,
val to: List,
val cc: List,
val bcc: List,
val body: String,
val type: EmailContentType = EmailContentType.html,
@Transient
val attachments: List> = emptyList(),
)