Package org.javlo.mailing
Class EMail
- java.lang.Object
-
- org.javlo.mailing.Mail
-
- org.javlo.mailing.EMail
-
public class EMail extends Mail
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttachement(String name, InputStream content)
void
addAttachment(MailService.Attachment attachment)
void
addBccRecipient(javax.mail.internet.InternetAddress bccRecipient)
void
addRecipient(javax.mail.internet.InternetAddress recipient)
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)
-
Methods inherited from class org.javlo.mailing.Mail
getContent, getSubject, isHtml, setContent, setHtml, setSubject
-
-
-
-
Method Detail
-
getSender
public javax.mail.internet.InternetAddress getSender()
-
setSender
public void setSender(javax.mail.internet.InternetAddress sender)
-
getRecipients
public List<javax.mail.internet.InternetAddress> getRecipients()
-
addRecipient
public void addRecipient(javax.mail.internet.InternetAddress recipient)
-
setRecipients
public void setRecipients(List<javax.mail.internet.InternetAddress> recipients)
-
addRecipients
public void addRecipients(javax.mail.internet.InternetAddress recipient)
-
getCcRecipients
public List<javax.mail.internet.InternetAddress> getCcRecipients()
-
setCcRecipients
public void setCcRecipients(List<javax.mail.internet.InternetAddress> ccRecipients)
-
getBccRecipients
public List<javax.mail.internet.InternetAddress> getBccRecipients()
-
setBccRecipients
public void setBccRecipients(List<javax.mail.internet.InternetAddress> bccRecipients)
-
addBccRecipient
public void addBccRecipient(javax.mail.internet.InternetAddress bccRecipient)
-
getTxtContent
public String getTxtContent()
-
setTxtContent
public void setTxtContent(String txtContent)
-
getAttachments
public Collection<MailService.Attachment> getAttachments()
-
setAttachments
public void setAttachments(Collection<MailService.Attachment> attachments)
-
addAttachment
public void addAttachment(MailService.Attachment attachment)
-
getUnsubscribeLink
public String getUnsubscribeLink()
-
setUnsubscribeLink
public void setUnsubscribeLink(String unsubscribeLink)
-
getDkim
public DKIMBean getDkim()
-
setDkim
public void setDkim(DKIMBean dkim)
-
addAttachement
public void addAttachement(String name, InputStream content) throws IOException
- Throws:
IOException
-
-