Package | Description |
---|---|
io.vertx.ext.mail |
Modifier and Type | Method and Description |
---|---|
MailAttachment |
MailAttachment.addHeader(String key,
String value)
Add an header to this attachment.
|
MailAttachment |
MailAttachment.setContentId(String contentId)
set the Content-ID field to be used in the attachment
|
MailAttachment |
MailAttachment.setContentType(String contentType)
set the Content-Type
|
MailAttachment |
MailAttachment.setData(Buffer data)
set the data
|
MailAttachment |
MailAttachment.setDescription(String description)
set the description field to be used in the attachment
|
MailAttachment |
MailAttachment.setDisposition(String disposition)
set the disposition field to be used in the attachment
|
MailAttachment |
MailAttachment.setHeaders(MultiMap headers)
Set the headers to be added for this attachment.
|
MailAttachment |
MailAttachment.setName(String name)
set the name
|
Modifier and Type | Method and Description |
---|---|
List<MailAttachment> |
MailMessage.getAttachment()
get the list of attachments of this mail
|
List<MailAttachment> |
MailMessage.getInlineAttachment()
get the list of inline attachments of this mail
|
Modifier and Type | Method and Description |
---|---|
MailMessage |
MailMessage.setAttachment(MailAttachment attachment)
set a single attachment of this mail
|
MailMessage |
MailMessage.setInlineAttachment(MailAttachment inlineAttachment)
set a single inline attachment of this mail
|
Modifier and Type | Method and Description |
---|---|
MailMessage |
MailMessage.setAttachment(List<MailAttachment> attachment)
set the list of attachments of this mail
|
MailMessage |
MailMessage.setInlineAttachment(List<MailAttachment> inlineAttachment)
set the list of inline attachments of this mail
|
Constructor and Description |
---|
MailAttachment(MailAttachment other)
create a copy of a MailAttachment object
|
Copyright © 2023 Eclipse. All rights reserved.