public interface EmailSenderAPI
EmailerAPI.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
sendEmail(SendingMessage sendingMessage)
Sends email with help of
JavaMailSender. |
void |
updateSession() |
static final java.lang.String NAME
void sendEmail(SendingMessage sendingMessage) throws javax.mail.MessagingException
JavaMailSender.
Message body and attachments' content must be loaded from file storage.
EmailerAPI instead if you need email to be delivered reliably and stored to email history.javax.mail.MessagingException - if delivery failsvoid updateSession()