fun MailAttachment(contentId: String? = null, contentType: String? = null, data: Buffer? = null, description: String? = null, disposition: String? = null, headers: Map<String, String>? = null, name: String? = null): MailAttachment
A function providing a DSL for building io.vertx.ext.mail.MailAttachment objects.
Represent a mail attachment that can be used in a MailMessage.
contentId
- set the Content-ID field to be used in the attachment
contentType
- set the Content-Type
description
- set the description field to be used in the attachment
disposition
- set the disposition field to be used in the attachment