public class ImapSslServer extends ImapServer
MailServer.Builder| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_SSL_PORT
Default IMAP SSL port.
|
protected static java.lang.String |
MAIL_IMAP_SOCKET_FACTORY_CLASS |
protected static java.lang.String |
MAIL_IMAP_SOCKET_FACTORY_FALLBACK |
protected static java.lang.String |
MAIL_IMAP_SOCKET_FACTORY_PORT |
DEFAULT_IMAP_PORT, MAIL_IMAP_HOST, MAIL_IMAP_PARTIALFETCH, MAIL_IMAP_PORT, PROTOCOL_IMAP| Constructor and Description |
|---|
ImapSslServer(java.lang.String host,
int port,
javax.mail.Authenticator authenticator) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Properties |
createSessionProperties()
Creates
MailSession Properties. |
protected com.sun.mail.imap.IMAPSSLStore |
getStore(javax.mail.Session session)
Returns email store.
|
createSessioncreate, getAuthenticator, getHost, getPort, getSessionPropertiesprotected static final java.lang.String MAIL_IMAP_SOCKET_FACTORY_PORT
protected static final java.lang.String MAIL_IMAP_SOCKET_FACTORY_CLASS
protected static final java.lang.String MAIL_IMAP_SOCKET_FACTORY_FALLBACK
protected static final int DEFAULT_SSL_PORT
public ImapSslServer(java.lang.String host,
int port,
javax.mail.Authenticator authenticator)
protected java.util.Properties createSessionProperties()
MailServerMailSession Properties.createSessionProperties in class ImapServerPropertiesprotected com.sun.mail.imap.IMAPSSLStore getStore(javax.mail.Session session)
getStore in class ImapServersession - SessionIMAPSSLStoreCopyright © 2003-present Jodd Team