public class Pop3Server extends MailServer<ReceiveMailSession>
MailServer.Builder| Modifier and Type | Field and Description | 
|---|---|
protected static int | 
DEFAULT_POP3_PORT
Default POP3 port. 
 | 
protected static java.lang.String | 
PROTOCOL_POP3  | 
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| Modifier | Constructor and Description | 
|---|---|
  | 
Pop3Server(MailServer.Builder builder)  | 
protected  | 
Pop3Server(MailServer.Builder builder,
          int defaultPort)  | 
| Modifier and Type | Method and Description | 
|---|---|
ReceiveMailSession | 
createSession()
Creates new mail session. 
 | 
protected java.util.Properties | 
createSessionProperties()
Creates  
MailSession Properties. | 
protected javax.mail.Store | 
getStore(javax.mail.Session session)
Returns email store. 
 | 
createprotected static final java.lang.String PROTOCOL_POP3
protected static final int DEFAULT_POP3_PORT
public Pop3Server(MailServer.Builder builder)
protected Pop3Server(MailServer.Builder builder, int defaultPort)
protected java.util.Properties createSessionProperties()
MailServerMailSession Properties.createSessionProperties in class MailServer<ReceiveMailSession>Propertiesprotected javax.mail.Store getStore(javax.mail.Session session)
                             throws javax.mail.NoSuchProviderException
POP3Storejavax.mail.NoSuchProviderException - If a provider for the given protocol is not found.public ReceiveMailSession createSession()
createSession in class MailServer<ReceiveMailSession>ReceiveMailSessionEmailUtil.createSession(String, Properties, Authenticator, File)Copyright © 2003-present Jodd Team