ag.orbia.common.infrastructure.email.EmailAttachment.kt Maven / Gradle / Ivy
package ag.orbia.common.infrastructure.email
/**
* Represents a file that will be attached to an e-mail.
*/
class EmailAttachment (
/**
* Content of the file in bytes.
*/
val fileContent: ByteArray,
/**
* Name that will be given to the attachment and will be shown to the user.
*/
val name: String,
/**
* Mime type of the attached file.
*/
val mime: String
)