Package io.jmix.email
Class EmailAttachment
java.lang.Object
io.jmix.email.EmailAttachment
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionEmailAttachment
(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 Summary
Modifier and TypeMethodDescriptionstatic EmailAttachment
createTextAttachment
(String text, String encoding, String name) byte[]
getData()
getName()
-
Constructor Details
-
EmailAttachment
Create file attachment. -
EmailAttachment
Create inline attachment (e.g. image embedded into html). -
EmailAttachment
-
-
Method Details
-
getData
public byte[] getData() -
getName
-
getContentId
-
getDisposition
-
getEncoding
-
createTextAttachment
-