All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy