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
MailSenderException
void send(String subject, String content, String toMailbox, String toName, String fromMailbox, String fromName) throws MailSenderException
MailSenderException
void send(String subject, String content, String toMailbox, String toName, String fromMailbox, String fromName, Map extraHeaders) throws MailSenderException
MailSenderException
void verify(MailMessage message) throws MailSenderException
MailSenderException
Copyright © 2016. All Rights Reserved.