Param Name | Default | Definition |
---|---|---|
host | (none) | Host name or IP address of the server to be contacted. |
username | (none) | User ID on the server. |
password | (none) | Password that goes with username on the server. |
provider | "pop3" | The type of mail server to be contacted per javamail API. Do not set for this impl. |
folder | "INBOX" | Name of the logical folder to retrieve from on the server. |
port | "110" | TCP port for connecting to the server. Should be 110 for non-encrypted, 995 for ssl, or custom values as needed. |
basedir | system temp dir | Location in which to save attachment files. Defaults to the temp directory as reported to java by the OS at runtime. |
ssl | "0" | Determines whether an encrypted connection should be used. If "1", then other SSL-related settings will be observed. |
mail.pop3.socketFactory.class | "javax.net.ssl.SSLSocketFactory" | Class name for an encrypted socket provider. Don't change unless you're using SSL and know what you're doing. |
mail.pop3.socketFactory.fallback | "false" | If true, then a non-SSL socket will be provided if an SSL one cannot be created. Don't change unless you're using SSL and know what you're doing. |
mail.pop3.port | port, above | Set automatically by this class. Not overridable in the current impl. |
mail.pop3.socketFactory.port | port, above | Set automatically by this class. Not overridable in the current impl. |
Rather than list it separately for each method, we mention here that every method communicating with the server and throwing an IOException can also throw a {@link org.apache.commons.net.MalformedServerReplyException}, which is a subclass of IOException. A MalformedServerReplyException will be thrown when the reply received from the server deviates enough from the protocol specification that it cannot be interpreted in a useful manner despite attempts to be as lenient as possible.
@author Daniel F. Savarese @see POP3MessageInfo @see org.apache.commons.net.io.DotTerminatedMessageReader @see org.apache.commons.net.MalformedServerReplyException
|
|
|
|