public interface EmailMessageSender
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection(javax.mail.Transport pTransport)
Closes the connection identified by the Transport object.
|
javax.mail.Transport |
openConnection()
Opens a connection to the mail server.
|
void |
sendEmailMessage(javax.mail.Message pMessage)
Sends an email message.
|
void |
sendEmailMessage(javax.mail.Message pMessage,
javax.mail.Transport pTransport)
Sends an email message.
|
static final java.lang.String CLASS_VERSION
javax.mail.Transport openConnection()
throws EmailException
EmailException - if the connection could not be
openedvoid sendEmailMessage(javax.mail.Message pMessage,
javax.mail.Transport pTransport)
throws EmailException
EmailException - if the connection is not open,
or if the message could not be sentvoid sendEmailMessage(javax.mail.Message pMessage)
throws EmailException
EmailException - if the message could not be sentvoid closeConnection(javax.mail.Transport pTransport)
throws EmailException
EmailException - if the connection could not be
closed