Public Member Functions | |
IMailSender | addAttachment (File file) |
IMailSender | addAttachments (Collection< File > files) |
IMailSender | addMailAttachments (Collection< MailAttachment > files) |
IMailSender | onStart (Consumer command) |
IMailSender | onCancel (Consumer command) |
IMailSender | onBuild (Consumer command) |
IMailSender | onFinish (Consumer command) |
IMailSender | setCategory (String idCategory) |
IMailSender | setPool (String pool) |
IMailSender | setReason (String reason) |
IMailSender | setFrom (IContact contact) |
IMailSender | putIf (Object key, Supplier< Boolean > condition, Supplier value) |
IMailSender | put (Object key, Object value) |
IMailSender | putAll (Map attributes) |
IMailSender | setRoot (String root) |
void | removeAttachments () |
void | send (String subject, String message) |
void | send (NotificationCategory category, String subject, String message) |
void | sendTemplate (String template, String subject) throws EmailException |
void | sendTemplate (Object entity, String template, String subject) throws EmailException |
void | sendTemplate (NotificationCategory category, Object entity, String template, String subject) throws EmailException |
void | silentSendTemplate (String template, String subject) |
void | silentSendTemplate (Object entity, String template, String subject) |
void | silentSendTemplate (NotificationCategory category, Object entity, String template, String subject) |
String | processMacros (IContact contact, String text, boolean web) |
Public Member Functions inherited from org.turro.action.IContactSender< IMailSender > | |
T | addAdministrators () |
T | addByEntity (Object entity, Object data) |
T | addByEntity (Object entity, boolean deep, Object data) |
T | addByEntity (String path, Object data) |
T | addByEntity (String path, boolean deep, Object data) |
T | addByRole (String role) |
T | addBySyndication (String syndication) |
T | addContact (IContact contact) |
T | addContacts (Collection< IContact > contacts) |
T | addAssistant (Assistant assistant) |
T | addAssistants (AssistantSet assistants) |
T | addUser (String name, String email) |
AssistantSet | getAssistants () |
default void | copyFrom (IContactSender sender) |
Definition at line 33 of file IMailSender.java.
IMailSender org.turro.action.IMailSender.addAttachment | ( | File | file | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.addAttachments | ( | Collection< File > | files | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.addMailAttachments | ( | Collection< MailAttachment > | files | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.onBuild | ( | Consumer | command | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.onCancel | ( | Consumer | command | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.onFinish | ( | Consumer | command | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.onStart | ( | Consumer | command | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
String org.turro.action.IMailSender.processMacros | ( | IContact | contact, |
String | text, | ||
boolean | web | ||
) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.put | ( | Object | key, |
Object | value | ||
) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.putAll | ( | Map | attributes | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.putIf | ( | Object | key, |
Supplier< Boolean > | condition, | ||
Supplier | value | ||
) |
Implemented in org.turro.mail.sender.AbstractMailSender.
void org.turro.action.IMailSender.removeAttachments | ( | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
void org.turro.action.IMailSender.send | ( | NotificationCategory | category, |
String | subject, | ||
String | message | ||
) |
Implemented in org.turro.mail.sender.AbstractMailSender.
void org.turro.action.IMailSender.send | ( | String | subject, |
String | message | ||
) |
Implemented in org.turro.mail.sender.AbstractMailSender.
void org.turro.action.IMailSender.sendTemplate | ( | NotificationCategory | category, |
Object | entity, | ||
String | template, | ||
String | subject | ||
) | throws EmailException |
Implemented in org.turro.mail.sender.AbstractMailSender.
void org.turro.action.IMailSender.sendTemplate | ( | Object | entity, |
String | template, | ||
String | subject | ||
) | throws EmailException |
Implemented in org.turro.mail.sender.AbstractMailSender.
void org.turro.action.IMailSender.sendTemplate | ( | String | template, |
String | subject | ||
) | throws EmailException |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.setCategory | ( | String | idCategory | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.setFrom | ( | IContact | contact | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.setPool | ( | String | pool | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.setReason | ( | String | reason | ) |
Implemented in org.turro.mail.sender.AbstractMailSender.
IMailSender org.turro.action.IMailSender.setRoot | ( | String | root | ) |
root | Templates' root on templates-mail/content. Defaults to / and must be prepended with a slash. |
Implemented in org.turro.mail.sender.AbstractMailSender.
void org.turro.action.IMailSender.silentSendTemplate | ( | NotificationCategory | category, |
Object | entity, | ||
String | template, | ||
String | subject | ||
) |
Implemented in org.turro.mail.sender.AbstractMailSender.
void org.turro.action.IMailSender.silentSendTemplate | ( | Object | entity, |
String | template, | ||
String | subject | ||
) |
Implemented in org.turro.mail.sender.AbstractMailSender.
void org.turro.action.IMailSender.silentSendTemplate | ( | String | template, |
String | subject | ||
) |
Implemented in org.turro.mail.sender.AbstractMailSender.