public interface IMailDto
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(byte[] attachment)
adder attachment.
|
boolean |
addRecipient(String recipient_email)
adder recipient_email to recipients_email.
|
ArrayList<byte[]> |
getAttachments()
getter attachments.
|
String |
getContent()
getter content.
|
org.bson.Document |
getDocument()
Getter document.
|
HashSet<String> |
getRecipientsEmail()
getter recipients_email.
|
String |
getSenderEmail()
getter sender_email.
|
void |
setContent(String content)
setter content.
|
void |
setDocument(org.bson.Document document)
Setter document.
|
void |
setSenderEmail(String sender_email)
setter sender_email.
|
org.bson.Document getDocument()
void setDocument(org.bson.Document document)
document. - ArrayList<byte[]> getAttachments()
void addAttachment(byte[] attachment)
attachment - a byte array representing an attached fileString getSenderEmail()
void setSenderEmail(String sender_email)
sender_email - email address of senderHashSet<String> getRecipientsEmail()
boolean addRecipient(String recipient_email)
recipient_email - email address of recipientString getContent()
void setContent(String content)
content - body of emailCopyright © 2019. All rights reserved.