fun mailMessageOf(attachment: Iterable<MailAttachment>? = null, bcc: Iterable<String>? = null, bounceAddress: String? = null, cc: Iterable<String>? = null, fixedHeaders: Boolean? = null, from: String? = null, headers: Map<String, String>? = null, html: String? = null, inlineAttachment: Iterable<MailAttachment>? = null, subject: String? = null, text: String? = null, to: Iterable<String>? = null): MailMessage
A function providing a DSL for building io.vertx.ext.mail.MailMessage objects.
represent a mail message that can be sent via the MailClient
attachment - set the list of attachments of this mail
bcc - set list of bcc addresses
bounceAddress - set bounce address of this mail
fixedHeaders - set whether our own headers should be the only headers added to the message
from - set from address of this mail
headers - Add a message header.
html - set the html text of this mail
inlineAttachment - set the list of inline attachments of this mail
subject - set the subject of this mail