Protected Member Functions | |
void | doSend (NotificationCategory category, String subject, String message) |
void | doSendTemplate (NotificationCategory category, Object entity, String template, String subject) throws EmailException |
Protected Member Functions inherited from org.turro.mail.sender.AbstractMailSender | |
boolean | isFromValid () |
String | getFromString () |
Map | getAttributes () |
Additional Inherited Members | |
Public Member Functions inherited from org.turro.mail.sender.AbstractMailSender | |
IMailSender | setCategory (String idCategory) |
IMailSender | setReason (String reason) |
IMailSender | setPool (String pool) |
IMailSender | setFrom (IContact from) |
IMailSender | setRoot (String root) |
IMailSender | addAdministrators () |
IMailSender | addBySyndication (String syndication) |
IMailSender | addByRole (String role) |
IMailSender | addByEntity (Object entity, Object data) |
IMailSender | addByEntity (Object entity, boolean deep, Object data) |
IMailSender | addByEntity (String path, Object data) |
IMailSender | addByEntity (String path, boolean deep, Object data) |
IMailSender | addContact (IContact contact) |
IMailSender | addContacts (Collection< IContact > contacts) |
IMailSender | addAssistant (Assistant assistant) |
IMailSender | addAssistants (AssistantSet assistants) |
IMailSender | addUser (String name, String email) |
IMailSender | addAttachment (File file) |
IMailSender | addAttachments (Collection< File > files) |
IMailSender | addMailAttachments (Collection< MailAttachment > mas) |
IMailSender | onStart (Consumer command) |
IMailSender | onCancel (Consumer command) |
IMailSender | onBuild (Consumer command) |
IMailSender | onFinish (Consumer command) |
AssistantSet | getAssistants () |
void | removeAttachments () |
IMailSender | putIf (Object key, Supplier< Boolean > condition, Supplier value) |
IMailSender | put (Object key, Object value) |
IMailSender | putAll (Map attributes) |
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) |
Public Attributes inherited from org.turro.mail.sender.AbstractMailSender | |
final AssistantSet | assistants = new AssistantSet() |
Protected Attributes inherited from org.turro.mail.sender.AbstractMailSender | |
String | defaultCategory = GenericElephantNotification.SYSTEM_NOTIFICATION |
String | reason |
Set< File > | attachments = new HashSet<>() |
Set< MailAttachment > | mailAttachments = new HashSet<>() |
Consumer | onStart |
IContact | from |
Definition at line 43 of file elephant-mail/src/main/java/org/turro/mail/sender/MailPool.java.
|
protected |
Reimplemented from org.turro.mail.sender.AbstractMailSender.
Reimplemented in org.turro.mail.sender.MailHeavy.
Definition at line 48 of file elephant-mail/src/main/java/org/turro/mail/sender/MailPool.java.
|
protected |
Reimplemented from org.turro.mail.sender.AbstractMailSender.
Reimplemented in org.turro.mail.sender.MailHeavy.
Definition at line 71 of file elephant-mail/src/main/java/org/turro/mail/sender/MailPool.java.