public class JmxSMTPMailServer
extends com.atlassian.mail.server.impl.SMTPMailServerImpl
SMTPMailServerImpl to provide metrics for
 
 The actual registration is handled by an instance of
 MailServerEventListener.
| Constructor and Description | 
|---|
JmxSMTPMailServer()  | 
JmxSMTPMailServer(Long id,
                 String name,
                 String description,
                 String from,
                 String prefix,
                 boolean isSession,
                 boolean removePrecedence,
                 com.atlassian.mail.MailProtocol mailProtocol,
                 String location,
                 String smtpPort,
                 boolean tlsRequired,
                 String username,
                 String password,
                 long timeout)  | 
JmxSMTPMailServer(Long id,
                 String name,
                 String description,
                 String from,
                 String prefix,
                 boolean isSession,
                 String location,
                 String username,
                 String password)  | 
JmxSMTPMailServer(Long id,
                 String name,
                 String description,
                 String from,
                 String prefix,
                 boolean isSession,
                 String location,
                 String username,
                 String password,
                 String smtpPort)  | 
JmxSMTPMailServer(Long id,
                 String name,
                 String description,
                 String from,
                 String prefix,
                 boolean isSession,
                 String location,
                 String username,
                 String password,
                 String smtpPort,
                 String fromName)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getEmailsAttempted()  | 
int | 
getEmailsSent()  | 
String | 
getFromName()  | 
Date | 
getLastSuccessful()  | 
boolean | 
isActive()  | 
void | 
quietSend(com.atlassian.mail.Email email)  | 
void | 
send(com.atlassian.mail.Email email)  | 
void | 
setFromName(String fromName)  | 
equals, getAuthenticator, getDefaultFrom, getJndiLocation, getJndiSession, getPrefix, getSession, getType, hashCode, isRemovePrecedence, isSessionServer, propertyChanged, sendWithMessageId, setDefaultFrom, setJndiLocation, setPrefix, setRemovePrecedence, setSessionServer, toStringgetDebug, getDebugStream, getDescription, getHostname, getId, getMailProtocol, getMoreDebugInfoAboutCreatedSession, getName, getPassword, getPort, getProperties, getSessionFromServerManager, getSocksHost, getSocksPort, getTimeout, getUsername, isTlsRequired, loadSystemProperties, setDebug, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPassword, setPort, setProperties, setSocksHost, setSocksPort, setTimeout, setTlsRequired, setUsernameclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDebug, getDebugStream, isTlsRequired, setDebug, setTlsRequiredgetDescription, getHostname, getId, getMailProtocol, getName, getPassword, getPort, getProperties, getSocksHost, getSocksPort, getTimeout, getUsername, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPassword, setPort, setProperties, setSocksHost, setSocksPort, setTimeout, setUsernamepublic JmxSMTPMailServer()
public JmxSMTPMailServer(Long id, String name, String description, String from, String prefix, boolean isSession, String location, String username, String password)
public JmxSMTPMailServer(Long id, String name, String description, String from, String prefix, boolean isSession, String location, String username, String password, String smtpPort)
public JmxSMTPMailServer(Long id, String name, String description, String from, String prefix, boolean isSession, String location, String username, String password, String smtpPort, String fromName)
public JmxSMTPMailServer(Long id, String name, String description, String from, String prefix, boolean isSession, boolean removePrecedence, com.atlassian.mail.MailProtocol mailProtocol, String location, String smtpPort, boolean tlsRequired, String username, String password, long timeout)
public void quietSend(com.atlassian.mail.Email email)
               throws com.atlassian.mail.MailException
quietSend in interface com.atlassian.mail.server.SMTPMailServerquietSend in class com.atlassian.mail.server.impl.SMTPMailServerImplcom.atlassian.mail.MailExceptionpublic void send(com.atlassian.mail.Email email)
          throws com.atlassian.mail.MailException
send in interface com.atlassian.mail.server.SMTPMailServersend in class com.atlassian.mail.server.impl.SMTPMailServerImplcom.atlassian.mail.MailExceptionpublic int getEmailsSent()
public int getEmailsAttempted()
public Date getLastSuccessful()
public boolean isActive()
public String getFromName()
public void setFromName(String fromName)
Copyright © 2003–2016 Atlassian. All rights reserved.