public interface MailSender
| Modifier and Type | Method and Description |
|---|---|
void |
send(MailMessage message)
Send a mail.
|
void |
send(String subject,
String content,
String toMailbox,
String toName,
String fromMailbox,
String fromName)
Send a mail message.
|
void |
send(String subject,
String content,
String toMailbox,
String toName,
String fromMailbox,
String fromName,
Map extraHeaders)
Send a mail message.
|
void |
verify(MailMessage message)
Verify the content of a mail message.
|
static final String ROLE
void send(MailMessage message) throws MailSenderException
MailSenderExceptionvoid send(String subject, String content, String toMailbox, String toName, String fromMailbox, String fromName) throws MailSenderException
MailSenderExceptionvoid send(String subject, String content, String toMailbox, String toName, String fromMailbox, String fromName, Map extraHeaders) throws MailSenderException
MailSenderExceptionvoid verify(MailMessage message) throws MailSenderException
MailSenderExceptionCopyright © 2015. All Rights Reserved.