Public Member Functions | |
HtmlEmail | getEmail () |
String | getMessage () |
void | setMessage (String message) |
String | getSubject () |
void | setSubject (String subject) |
MailProvider | getProvider () |
void | attachRelative (String path, String description, String name) |
void | attach (String path, String description, String name) |
void | attachExternal (URL url, String description, String name) |
void | embedRelative (String name, String path) |
void | embed (String name, File file) |
void | embedExternal (String name, String url) throws MalformedURLException |
void | send () throws EmailException, MalformedURLException, NamingException |
Date | getSentDate () |
void | setSentDate (Date date) |
setFrom (String email, String name) throws EmailException | |
setFrom (String email) throws EmailException | |
addTo (String email, String name) throws EmailException | |
addTo (String email) throws EmailException | |
addReplyTo (String email, String name) throws EmailException | |
addReplyTo (String email) throws EmailException | |
void | addHeader (String name, String value) |
addCc (String email, String name) throws EmailException | |
addCc (String email) throws EmailException | |
addBcc (String email, String name) throws EmailException | |
addBcc (String email) throws EmailException | |
Static Public Member Functions | |
static MailMessage | of (MailProvider provider) |
Protected Member Functions | |
MailMessage (MailProvider provider) | |
Protected Attributes | |
final MailProvider | provider |
Definition at line 42 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
|
protected |
Definition at line 219 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
Email org.turro.mail.message.MailMessage.addBcc | ( | String | ) | throws EmailException |
Definition at line 207 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
Email org.turro.mail.message.MailMessage.addBcc | ( | String | email, |
String | name | ||
) | throws EmailException |
Definition at line 203 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
Email org.turro.mail.message.MailMessage.addCc | ( | String | ) | throws EmailException |
Definition at line 199 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
Email org.turro.mail.message.MailMessage.addCc | ( | String | email, |
String | name | ||
) | throws EmailException |
Definition at line 195 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
void org.turro.mail.message.MailMessage.addHeader | ( | String | name, |
String | value | ||
) |
Definition at line 191 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
Email org.turro.mail.message.MailMessage.addReplyTo | ( | String | ) | throws EmailException |
Definition at line 187 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
Email org.turro.mail.message.MailMessage.addReplyTo | ( | String | email, |
String | name | ||
) | throws EmailException |
Definition at line 183 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
Email org.turro.mail.message.MailMessage.addTo | ( | String | ) | throws EmailException |
Definition at line 178 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
Email org.turro.mail.message.MailMessage.addTo | ( | String | email, |
String | name | ||
) | throws EmailException |
Definition at line 173 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
void org.turro.mail.message.MailMessage.attach | ( | String | path, |
String | description, | ||
String | name | ||
) |
Definition at line 85 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
void org.turro.mail.message.MailMessage.attachExternal | ( | URL | url, |
String | description, | ||
String | name | ||
) |
Definition at line 94 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
void org.turro.mail.message.MailMessage.attachRelative | ( | String | path, |
String | description, | ||
String | name | ||
) |
Definition at line 76 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
void org.turro.mail.message.MailMessage.embed | ( | String | name, |
File | file | ||
) |
Definition at line 107 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
void org.turro.mail.message.MailMessage.embedExternal | ( | String | name, |
String | url | ||
) | throws MalformedURLException |
Definition at line 111 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
void org.turro.mail.message.MailMessage.embedRelative | ( | String | name, |
String | path | ||
) |
Definition at line 103 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
HtmlEmail org.turro.mail.message.MailMessage.getEmail | ( | ) |
Definition at line 52 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
String org.turro.mail.message.MailMessage.getMessage | ( | ) |
Definition at line 56 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
MailProvider org.turro.mail.message.MailMessage.getProvider | ( | ) |
Definition at line 72 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
Date org.turro.mail.message.MailMessage.getSentDate | ( | ) |
Definition at line 150 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
String org.turro.mail.message.MailMessage.getSubject | ( | ) |
Definition at line 64 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
|
static |
Reimplemented in org.turro.mail.message.MailMessageTemplate.
Definition at line 213 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
void org.turro.mail.message.MailMessage.send | ( | ) | throws EmailException, MalformedURLException, NamingException |
Definition at line 115 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
Email org.turro.mail.message.MailMessage.setFrom | ( | String | ) | throws EmailException |
Definition at line 162 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
Email org.turro.mail.message.MailMessage.setFrom | ( | String | email, |
String | name | ||
) | throws EmailException |
Definition at line 158 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
void org.turro.mail.message.MailMessage.setMessage | ( | String | message | ) |
Definition at line 60 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
void org.turro.mail.message.MailMessage.setSentDate | ( | Date | date | ) |
Definition at line 154 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
void org.turro.mail.message.MailMessage.setSubject | ( | String | subject | ) |
Definition at line 68 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.
|
protected |
Definition at line 217 of file elephant-mail/src/main/java/org/turro/mail/message/MailMessage.java.