public class ImapSslServer extends ImapServer
MailServer.Builder
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_SSL_PORT
Default IMAP SSL port.
|
DEFAULT_IMAP_PORT, PROTOCOL_IMAP
attachmentStorage, authenticator, customProperties, debugMode, host, MAIL_DEBUG, MAIL_HOST, MAIL_IMAP_CONNECTIONTIMEOUT, MAIL_IMAP_HOST, MAIL_IMAP_PARTIALFETCH, MAIL_IMAP_PORT, MAIL_IMAP_SOCKET_FACTORY_CLASS, MAIL_IMAP_SOCKET_FACTORY_FALLBACK, MAIL_IMAP_SOCKET_FACTORY_PORT, MAIL_IMAP_TIMEOUT, MAIL_MIME_ADDRESS_STRICT, MAIL_POP3_AUTH, MAIL_POP3_CONNECTIONTIMEOUT, MAIL_POP3_HOST, MAIL_POP3_PORT, MAIL_POP3_SOCKET_FACTORY_CLASS, MAIL_POP3_SOCKET_FACTORY_FALLBACK, MAIL_POP3_SOCKET_FACTORY_PORT, MAIL_POP3_TIMEOUT, MAIL_SMTP_AUTH, MAIL_SMTP_CONNECTIONTIMEOUT, MAIL_SMTP_HOST, MAIL_SMTP_PORT, MAIL_SMTP_SOCKET_FACTORY_CLASS, MAIL_SMTP_SOCKET_FACTORY_FALLBACK, MAIL_SMTP_SOCKET_FACTORY_PORT, MAIL_SMTP_STARTTLS_ENABLE, MAIL_SMTP_STARTTLS_REQUIRED, MAIL_SMTP_TIMEOUT, MAIL_SMTP_WRITETIMEOUT, MAIL_TRANSPORT_PROTOCOL, port, strictAddress, timeout
Constructor and Description |
---|
ImapSslServer(MailServer.Builder builder) |
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.
|
createSession
create
protected static final int DEFAULT_SSL_PORT
public ImapSslServer(MailServer.Builder builder)
protected java.util.Properties createSessionProperties()
MailServer
MailSession
Properties
.createSessionProperties
in class ImapServer
Properties
protected com.sun.mail.imap.IMAPSSLStore getStore(javax.mail.Session session)
getStore
in class ImapServer
session
- Session
IMAPSSLStore
Copyright © 2003-present Jodd Team