Package | Description |
---|---|
io.vertx.ext.mail |
Modifier and Type | Method and Description |
---|---|
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.setName(String name)
set the name
|
Modifier and Type | Method and Description |
---|---|
List<MailAttachment> |
MailMessage.getAttachment()
get the list of attachments of this mail
|
Modifier and Type | Method and Description |
---|---|
MailMessage |
MailMessage.setAttachment(MailAttachment attachment)
set a single attachment of this mail the result of getAttachment when using
this method returns an unmodifiable list, if you want to be able to add
attachments later, please use
setAttachment(new ArrayList<MailAttachment>()) instead |
Modifier and Type | Method and Description |
---|---|
MailMessage |
MailMessage.setAttachment(List<MailAttachment> attachment)
set the list of attachments of this mail
|
Constructor and Description |
---|
MailAttachment(MailAttachment other)
create a copy of a MailAttachment object
|
Copyright © 2015. All Rights Reserved.