Package | Description |
---|---|
sirius.web.mails | |
sirius.web.templates |
Provides access to various template engines which generate HTML, text or PDF files.
|
Modifier and Type | Class and Description |
---|---|
class |
BufferedAttachment
Encapsulates all information required to add an attachment to a mail being sent.
|
class |
ResourceAttachment
Encapsulates all information required to add an attachment to a mail being sent.
|
Modifier and Type | Method and Description |
---|---|
Attachment |
Attachment.addHeader(String name,
String value)
Adds a header to the attachment.
|
Attachment |
Attachment.withContentType(String contentType)
Updates the content type of the attachment.
|
Modifier and Type | Method and Description |
---|---|
Attachment |
Generator.generateAttachment(String filename)
Convenience method to directly create an
Attachment which can be added to an email. |
Copyright © 2018. All rights reserved.