|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EmailMessageSender
An interface for sending javax.mail.Message objects.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final java.lang.String CLASS_VERSION
| Method Detail |
|---|
javax.mail.Transport openConnection()
throws EmailException
EmailException - if the connection could not be
opened
void 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 sent
void sendEmailMessage(javax.mail.Message pMessage)
throws EmailException
EmailException - if the message could not be sent
void closeConnection(javax.mail.Transport pTransport)
throws EmailException
EmailException - if the connection could not be
closed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||