public class ConfluencePopMailServer
extends com.atlassian.mail.server.impl.PopMailServerImpl
TODO CONFDEV-11374 Add session and address support to atlassian-mail
Constructor and Description |
---|
ConfluencePopMailServer(Long id,
String name,
String description,
com.atlassian.mail.MailProtocol popProtocol,
String serverName,
String popPort,
String username,
String password,
String toAddress) |
Modifier and Type | Method and Description |
---|---|
javax.mail.Session |
getSession()
get the mail session.
|
String |
getToAddress() |
void |
setToAddress(String toAddress) |
getAuthenticator, getType
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDebug, getDescription, getHostname, getId, getMailProtocol, getName, getPassword, getPort, getProperties, getSocksHost, getSocksPort, getTimeout, getUsername, setDebug, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPassword, setPort, setProperties, setSocksHost, setSocksPort, setTimeout, setUsername
public void setToAddress(String toAddress)
public String getToAddress()
public javax.mail.Session getSession() throws com.atlassian.mail.MailException
SMTPMailServerImpl
. Should go back in atlassian-mail after fixing.getSession
in interface com.atlassian.mail.server.MailServer
getSession
in class com.atlassian.mail.server.impl.PopMailServerImpl
com.atlassian.mail.MailException
Copyright © 2003–2016 Atlassian. All rights reserved.