public class EMail extends Mail
Constructor and Description |
---|
EMail() |
EMail(String subject,
String content) |
EMail(String subject,
String content,
boolean html) |
Modifier and Type | Method and Description |
---|---|
void |
addAttachement(String name,
InputStream content) |
void |
addRecipients(javax.mail.internet.InternetAddress recipient) |
Collection<MailService.Attachment> |
getAttachments() |
List<javax.mail.internet.InternetAddress> |
getBccRecipients() |
List<javax.mail.internet.InternetAddress> |
getCcRecipients() |
DKIMBean |
getDkim() |
List<javax.mail.internet.InternetAddress> |
getRecipients() |
javax.mail.internet.InternetAddress |
getSender() |
String |
getTxtContent() |
String |
getUnsubscribeLink() |
void |
setAttachments(Collection<MailService.Attachment> attachments) |
void |
setBccRecipients(List<javax.mail.internet.InternetAddress> bccRecipients) |
void |
setCcRecipients(List<javax.mail.internet.InternetAddress> ccRecipients) |
void |
setDkim(DKIMBean dkim) |
void |
setRecipients(List<javax.mail.internet.InternetAddress> recipients) |
void |
setSender(javax.mail.internet.InternetAddress sender) |
void |
setTxtContent(String txtContent) |
void |
setUnsubscribeLink(String unsubscribeLink) |
getContent, getSubject, isHtml, setContent, setHtml, setSubject
public javax.mail.internet.InternetAddress getSender()
public void setSender(javax.mail.internet.InternetAddress sender)
public List<javax.mail.internet.InternetAddress> getRecipients()
public void setRecipients(List<javax.mail.internet.InternetAddress> recipients)
public void addRecipients(javax.mail.internet.InternetAddress recipient)
public List<javax.mail.internet.InternetAddress> getCcRecipients()
public void setCcRecipients(List<javax.mail.internet.InternetAddress> ccRecipients)
public List<javax.mail.internet.InternetAddress> getBccRecipients()
public void setBccRecipients(List<javax.mail.internet.InternetAddress> bccRecipients)
public String getTxtContent()
public void setTxtContent(String txtContent)
public Collection<MailService.Attachment> getAttachments()
public void setAttachments(Collection<MailService.Attachment> attachments)
public String getUnsubscribeLink()
public void setUnsubscribeLink(String unsubscribeLink)
public DKIMBean getDkim()
public void setDkim(DKIMBean dkim)
public void addAttachement(String name, InputStream content) throws IOException
IOException
Copyright © 2012-2018. All Rights Reserved.