Package zakadabar.lib.email

Types

Mail
Link copied to clipboard
common
class Mail(id: <ERROR CLASS><Mail>, status: MailStatus, createdBy: <ERROR CLASS><<ERROR CLASS>>?, createdAt: <ERROR CLASS>?, sentAt: <ERROR CLASS>?, sensitive: Boolean, recipients: String, subject: String)
MailBl
Link copied to clipboard
open class MailBl : EntityBusinessLogicBase<Mail>
MailCrud
Link copied to clipboard
js
class MailCrud : ZkCrudTarget<Mail>
MailData
Link copied to clipboard
js
class MailData(recipient: String, subject: String, content: String) : BaseBo
MailForm
Link copied to clipboard
js
class MailForm : ZkForm<Mail>
MailModuleBundle
Link copied to clipboard
class MailModuleBundle : CommonModule
MailPa
Link copied to clipboard
open class MailPa(table: MailTable) : ExposedPaBase<Mail, MailTable>
MailPart
Link copied to clipboard
common
class MailPart(id: <ERROR CLASS><MailPart>, disposition: String, reference: <ERROR CLASS><Mail>?, name: String, mimeType: String, size: Long)
MailPartBl
Link copied to clipboard
class MailPartBl(mailTable: MailTable) : BlobBlBase<MailPart, Mail>
MailPartPa
Link copied to clipboard
class MailPartPa(referenceTable: MailTable, table: MailPartTable) : BlobExposedPa<MailPart, Mail>
MailPartTable
Link copied to clipboard
class MailPartTable(tableName: String, referenceTable: MailTable) : BlobExposedTable<MailPart, Mail>
MailSettings
Link copied to clipboard
common
class MailSettings(host: String, port: Int, username: String?, password: String?, protocol: String, auth: Boolean, tls: Boolean, debug: Boolean)
MailStatus
Link copied to clipboard
common
enum MailStatus : Enum<MailStatus>
MailTable
Link copied to clipboard
class MailTable : ZkTable<Mail>
open class MailTable(tableName: String) : ExposedPaTable<Mail>
Process
Link copied to clipboard
common
class Process(mail: <ERROR CLASS><Mail>)
Processes a mail.
SendMailDialog
Link copied to clipboard
js
open class SendMailDialog : ZkModalBase<Boolean>
SendMailForm
Link copied to clipboard
js
class SendMailForm : ZkForm<MailData>

Functions

buildMail
Link copied to clipboard
common
suspend fun buildMail(recipients: String, subject: String, content: String, contentMimeType: String = "text/plain", attachments: List<<ERROR CLASS><ByteArray, String, String>> = emptyList()): <ERROR CLASS><Mail>
Create a mail with a plain text or HTML content.
install
Link copied to clipboard
fun install()
sendMail
Link copied to clipboard
common
suspend fun sendMail(recipients: String, subject: String, content: String, contentMimeType: String = "text/plain", attachments: List<<ERROR CLASS><ByteArray, String, String>> = emptyList()): <ERROR CLASS><<ERROR CLASS>>
Create a mail with a plain text or HTML content and queue it for sending.