|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

public interface MailManager
Interface defining a generic mail manager to manage the various Toolbox Mail API components.
| Method Summary | |
|---|---|
void |
destroy()
Destroy this manager. |
javax.mail.Session |
getSession()
Return a JavaMail Session instance. |
SMTPMailer |
getSMTPMailer()
Return a SMTPMailer instance. |
void |
init(java.lang.String name,
XMLProperties xmlProps)
Initialise this manager instance. |
| Method Detail |
|---|
void init(java.lang.String name,
XMLProperties xmlProps)
throws MailException
name - String containing a name to identify this manager.xmlProps - XML configuration properties.
MailException - if the manager cannot be initialised.
SMTPMailer getSMTPMailer()
throws MailException
MailException
javax.mail.Session getSession()
throws MailException
MailException
void destroy()
throws MailException
MailException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||