Package com.atlassian.confluence.mail
Class ConfluencePopMailServer
- java.lang.Object
-
- com.atlassian.mail.server.AbstractMailServer
-
- com.atlassian.mail.server.impl.PopMailServerImpl
-
- com.atlassian.confluence.mail.ConfluencePopMailServer
-
- All Implemented Interfaces:
com.atlassian.mail.server.MailServer,com.atlassian.mail.server.PopMailServer,Serializable
public class ConfluencePopMailServer extends com.atlassian.mail.server.impl.PopMailServerImplA Confluence/Atlassian-flavoured POP server that stores the email address associated with the POP account.TODO CONFDEV-11374 Add session and address support to atlassian-mail
- Since:
- 5.0
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.mail.SessiongetSession()get the mail session.StringgetToAddress()voidsetToAddress(String toAddress)-
Methods inherited from class com.atlassian.mail.server.impl.PopMailServerImpl
getAuthenticator, getType
-
Methods inherited from class com.atlassian.mail.server.AbstractMailServer
equals, getConnectionTimeout, getDebug, getDebugStream, getDescription, getHostname, getId, getMailProtocol, getMoreDebugInfoAboutCreatedSession, getName, getPassword, getPort, getProperties, getSessionFromServerManager, getSocksHost, getSocksPort, getTimeout, getUsername, hashCode, isTlsRequired, loadSystemProperties, propertyChanged, setConnectionTimeout, setDebug, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPassword, setPort, setProperties, setSocksHost, setSocksPort, setTimeout, setTlsRequired, setUsername, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.mail.server.MailServer
getDebug, getDescription, getHostname, getId, getMailProtocol, getName, getPassword, getPort, getProperties, getSocksHost, getSocksPort, getTimeout, getUsername, isTlsHostnameCheckRequired, setDebug, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPassword, setPort, setProperties, setSocksHost, setSocksPort, setTimeout, setTlsHostnameCheckRequired, setUsername
-
-
-
-
Method Detail
-
setToAddress
public void setToAddress(String toAddress)
-
getToAddress
public String getToAddress()
-
getSession
public javax.mail.Session getSession() throws com.atlassian.mail.MailExceptionget the mail session. HACK - copied fromSMTPMailServerImpl. Should go back in atlassian-mail after fixing.- Specified by:
getSessionin interfacecom.atlassian.mail.server.MailServer- Overrides:
getSessionin classcom.atlassian.mail.server.impl.PopMailServerImpl- Throws:
com.atlassian.mail.MailException
-
-