mx4j.tools.mail
public class SMTP extends Object implements SMTPMBean, NotificationListener, MBeanRegistration
Version: $Revision: 1.7 $
| Method Summary | |
|---|---|
| String | getBCC() |
| String | getCC() |
| String | getContent() |
| String | getFromAddress() |
| String | getFromName() |
| String | getMimeType() |
| String | getNotificationName() |
| ObjectName | getObservedObject() |
| String | getServerHost() |
| int | getServerPort() |
| String | getServerUsername() |
| String | getSubject() |
| int | getTimeout() |
| String | getTo() |
| void | handleNotification(Notification notification, Object handback) |
| boolean | isLoginToServer() |
| void | postDeregister() |
| void | postRegister(Boolean registrationDone) |
| void | preDeregister() |
| ObjectName | preRegister(MBeanServer server, ObjectName name)
Gathers some basic data |
| protected void | registerListener() |
| void | sendMail() |
| void | setBCC(String bccAddresses) |
| void | setCC(String ccAddresses) |
| void | setContent(String content) |
| void | setFromAddress(String fromAddress) |
| void | setFromName(String fromName) |
| void | setLoginToServer(boolean login) |
| void | setMimeType(String mimeType) |
| void | setNotificationName(String notificationName) |
| void | setObservedObject(ObjectName targetMBeanName) |
| void | setServerHost(String host) |
| void | setServerPassword(String password) |
| void | setServerPort(int port) |
| void | setServerUsername(String username) |
| void | setSubject(String subject) |
| void | setTimeout(int timeout) |
| void | setTo(String toAddresses) |
| protected void | unregisterListener() |