|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mail
A simple interface. It is modeled after org.apache.commons.mail.Email. But it allows us not to use org.apache.commons.mail.Email at all, use Javamail or anything else.
Method Summary | |
---|---|
void |
addBcc(String... bccs)
In general email addresses could look like: Joe Jocker |
void |
addCc(String... ccs)
In general email addresses could look like: Joe Jocker |
void |
addHeader(String key,
String value)
|
void |
addReplyTo(String... replyTos)
In general email addresses could look like: Joe Jocker |
void |
addTo(String... tos)
In general email addresses could look like: Joe Jocker |
Collection<String> |
getBccs()
|
String |
getBodyHtml()
|
String |
getBodyText()
|
Collection<String> |
getCcs()
|
String |
getCharset()
|
String |
getFrom()
|
Map<String,String> |
getHeaders()
|
Collection<String> |
getReplyTo()
|
String |
getSubject()
|
Collection<String> |
getTos()
|
void |
setBodyHtml(String html)
|
void |
setBodyText(String text)
|
void |
setCharset(String charset)
|
void |
setFrom(String from)
In general email addresses could look like: Joe Jocker |
void |
setSubject(String subject)
|
Method Detail |
---|
void setSubject(String subject)
String getSubject()
void addTo(String... tos)
tos
- Collection<String> getTos()
void setFrom(String from)
tos
- String getFrom()
void addReplyTo(String... replyTos)
replyTos
- Collection<String> getReplyTo()
void addCc(String... ccs)
ccs
- Collection<String> getCcs()
void addBcc(String... bccs)
bccs
- Collection<String> getBccs()
void setCharset(String charset)
String getCharset()
void addHeader(String key, String value)
Map<String,String> getHeaders()
void setBodyHtml(String html)
String getBodyHtml()
void setBodyText(String text)
String getBodyText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |