Package africa.sendbyte.emails
Class Attachment
java.lang.Object
africa.sendbyte.emails.Attachment
A file attachment on an outgoing email.
content must be Base64-encoded. Use of(String, String, byte[])
to build one directly from raw bytes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBase64-encoded file content.static AttachmentBuild an attachment from raw bytes, Base64-encoding them for you.
-
Constructor Details
-
Attachment
-
-
Method Details
-
of
Build an attachment from raw bytes, Base64-encoding them for you. -
getFilename
-
getContent
Base64-encoded file content. -
getContentType
-