Package io.jmix.email
Class EmailAttachment
java.lang.Object
io.jmix.email.EmailAttachment
- All Implemented Interfaces:
- Serializable
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionEmailAttachment(byte[] data, String name) Create file attachment.EmailAttachment(byte[] data, String name, String contentId) Create inline attachment (e.g.EmailAttachment(byte[] data, String name, String contentId, String disposition, String encoding) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic EmailAttachmentcreateTextAttachment(String text, String encoding, String name) byte[]getData()getName()
- 
Constructor Details- 
EmailAttachmentCreate file attachment.
- 
EmailAttachmentCreate inline attachment (e.g. image embedded into html).
- 
EmailAttachment
 
- 
- 
Method Details- 
getDatapublic byte[] getData()
- 
getName
- 
getContentId
- 
getDisposition
- 
getEncoding
- 
createTextAttachment
 
-