net.sourceforge.jaulp.email.properties
Class PropertyKeys

java.lang.Object
  extended by net.sourceforge.jaulp.email.properties.MailPropertiesConst
      extended by net.sourceforge.jaulp.email.properties.PropertyKeys

public abstract class PropertyKeys
extends MailPropertiesConst

Helper-class for the keys from the email-properties. All the documentation is from the different packages "com.sun.mail.imap, com.sun.mail.pop3, com.sun.mail.smtp". For detailed information see the JavaMail API.

Author:
Asterios Raptis

Field Summary
static java.lang.String MAIL_ALTERNATES
          This is the key for the property "mail.alternates".
static java.lang.String MAIL_DEBUG
          This is the key for the property "mail.debug".
static java.lang.String MAIL_FROM
          This is the key for the property "mail.debug".
static java.lang.String MAIL_HOST
          This is the key for the property "mail.host".
static java.lang.String MAIL_IMAP_ALLOWREADONLYSELECT
          This is the key for the property "mail.imap.allowreadonlyselect".
static java.lang.String MAIL_IMAP_APPENDBUFFERSIZE
          This is the key for the property "mail.imap.appendbuffersize".
static java.lang.String MAIL_IMAP_AUTH_LOGIN_DISABLE
          This is the key for the property "mail.imap.auth.login.disable".
static java.lang.String MAIL_IMAP_AUTH_PLAIN_DISABLE
          This is the key for the property "mail.imap.auth.plain.disable".
static java.lang.String MAIL_IMAP_CONNECTIONPOOLSIZE
          This is the key for the property "mail.imap.connectionpoolsize".
static java.lang.String MAIL_IMAP_CONNECTIONPOOLTIMEOUT
          This is the key for the property "mail.imap.connectionpooltimeout".
static java.lang.String MAIL_IMAP_CONNECTIONTIMEOUT
          This is the key for the property "mail.imap.connectiontimeout".
static java.lang.String MAIL_IMAP_FETCHSIZE
          This is the key for the property "mail.imap.fetchsize".
static java.lang.String MAIL_IMAP_HOST
          This is the key for the property "mail.imap.host".
static java.lang.String MAIL_IMAP_LOCALADDRESS
          This is the key for the property "mail.imap.localaddress".
static java.lang.String MAIL_IMAP_LOCALPORT
          This is the key for the property "mail.imap.localport".
static java.lang.String MAIL_IMAP_PARTIALFETCH
          This is the key for the property "mail.imap.partialfetch".
static java.lang.String MAIL_IMAP_PASSWORD
          This is the key for the property "mail.imap.password".
static java.lang.String MAIL_IMAP_PORT
          This is the key for the property "mail.imap.port".
static java.lang.String MAIL_IMAP_SASL_AUTHORIZATIONID
          This is the key for the property "mail.imap.sasl.authorizationid".
static java.lang.String MAIL_IMAP_SASL_ENABLE
          This is the key for the property "mail.imap.sasl.enable".
static java.lang.String MAIL_IMAP_SASL_MECHANISMS
          This is the key for the property "mail.imap.sasl.mechanisms".
static java.lang.String MAIL_IMAP_SEPARATESTORECONNECTION
          This is the key for the property "mail.imap.separatestoreconnection".
static java.lang.String MAIL_IMAP_SOCKETFACTORY_CLASS
          This is the key for the property "mail.imap.socketFactory.class".
static java.lang.String MAIL_IMAP_SOCKETFACTORY_FALLBACK
          This is the key for the property "mail.imap.socketFactory.fallback".
static java.lang.String MAIL_IMAP_SOCKETFACTORY_PORT
          This is the key for the property "mail.imap.socketFactory.port".
static java.lang.String MAIL_IMAP_STARTTLS_ENABLE
          This is the key for the property "mail.imap.starttls.enable".
static java.lang.String MAIL_IMAP_STATUSCACHETIMEOUT
          This is the key for the property "mail.imap.statuscachetimeout".
static java.lang.String MAIL_IMAP_TIMEOUT
          This is the key for the property "mail.imap.timeout".
static java.lang.String MAIL_IMAP_USER
          This is the key for the property "mail.imap.user".
static java.lang.String MAIL_MIME_ADDRESS_STRICT
          This is the key for the property "mail.mime.address.strict".
static java.lang.String MAIL_MIME_BASE64_IGNOREERRORS
          This is the key for the property "mail.mime.base64.ignoreerrors".
static java.lang.String MAIL_MIME_CHARSET
          This is the key for the property "mail.mime.charset".
static java.lang.String MAIL_MIME_DECODETEXT_STRICT
          This is the key for the property "mail.mime.decodetext.strict".
static java.lang.String MAIL_MIME_ENCODEEOL_STRICT
          This is the key for the property "mail.mime.encodeeol.strict".
static java.lang.String MAIL_MIME_FOLDTEXT
          This is the key for the property "mail.mime.foldtext".
static java.lang.String MAIL_MIME_MULTIPART_IGNOREMISSINGENDBOUNDARY
          This is the key for the property "mail.mime.multipart.ignoremissingendboundary".
static java.lang.String MAIL_MIME_SETCONTENTTYPEFILENAME
          This is the key for the property "mail.mime.setcontenttypefilename".
static java.lang.String MAIL_MIME_SETDEFAULTTEXTCHARSET
          This is the key for the property "mail.mime.setdefaulttextcharset".
static java.lang.String MAIL_POP3_APOP_ENABLE
          This is the key for the property "mail.pop3.apop.enable".
static java.lang.String MAIL_POP3_CONNECTIONTIMEOUT
          This is the key for the property "mail.pop3.connectiontimeout".
static java.lang.String MAIL_POP3_DISABLETOP
          This is the key for the property "mail.pop3.disabletop".
static java.lang.String MAIL_POP3_FORGETTOPHEADERS
          This is the key for the property "mail.pop3.forgettopheaders".
static java.lang.String MAIL_POP3_HOST
          This is the key for the property "mail.pop3.host".
static java.lang.String MAIL_POP3_LOCALADDRESS
          This is the key for the property "mail.pop3.localaddress".
static java.lang.String MAIL_POP3_LOCALPORT
          This is the key for the property "mail.pop3.localport".
static java.lang.String MAIL_POP3_MESSAGE_CLASS
          This is the key for the property "mail.pop3.message.class".
static java.lang.String MAIL_POP3_PORT
          This is the key for the property "mail.pop3.port".
static java.lang.String MAIL_POP3_RSETBEFOREQUIT
          This is the key for the property "mail.pop3.rsetbeforequit".
static java.lang.String MAIL_POP3_SOCKETFACTORY_CLASS
          This is the key for the property "mail.pop3.socketFactory.class".
static java.lang.String MAIL_POP3_SOCKETFACTORY_FALLBACK
          This is the key for the property "mail.pop3.socketFactory.fallback".
static java.lang.String MAIL_POP3_SOCKETFACTORY_PORT
          This is the key for the property "mail.pop3.socketFactory.port".
static java.lang.String MAIL_POP3_TIMEOUT
          This is the key for the property "mail.pop3.connectiontimeout".
static java.lang.String MAIL_POP3_USER
          This is the key for the property "mail.pop3.user".
static java.lang.String MAIL_PROTOCOL_CLASS
          This is the key for the property "mail.user".
static java.lang.String MAIL_PROTOCOL_HOST
          This is the key for the property "mail.protocol.host".
static java.lang.String MAIL_PROTOCOL_PORT
          This is the key for the property "mail.protocol.port".
static java.lang.String MAIL_PROTOCOL_USER
          This is the key for the property "mail.protocol.user".
static java.lang.String MAIL_REPLYALLCC
          This is the key for the property "mail.replyallcc".
static java.lang.String MAIL_SMTP_ALLOW8BITMIME
          This is the key for the property "mail.smtp.allow8bitmime".
static java.lang.String MAIL_SMTP_AUTH
          This is the key for the property "mail.smtp.auth".
static java.lang.String MAIL_SMTP_CONNECTIONTIMEOUT
          This is the key for the property "mail.smtp.connectiontimeout".
static java.lang.String MAIL_SMTP_DSN_NOTIFY
          This is the key for the property "mail.smtp.dsn.notify".
static java.lang.String MAIL_SMTP_DSN_RET
          This is the key for the property "mail.smtp.dsn.ret".
static java.lang.String MAIL_SMTP_EHLO
          This is the key for the property "mail.smtp.ehlo".
static java.lang.String MAIL_SMTP_FROM
          This is the key for the property "mail.smtp.from".
static java.lang.String MAIL_SMTP_HOST
          This is the key for the property "mail.smtp.host".
static java.lang.String MAIL_SMTP_LOCALADDRESS
          This is the key for the property "mail.smtp.localaddress".
static java.lang.String MAIL_SMTP_LOCALHOST
          This is the key for the property "mail.smtp.localhost".
static java.lang.String MAIL_SMTP_LOCALPORT
          This is the key for the property "mail.smtp.localport".
static java.lang.String MAIL_SMTP_MAILEXTENSION
          This is the key for the property "mail.smtp.mailextension".
static java.lang.String MAIL_SMTP_PORT
          This is the key for the property "mail.smtp.port".
static java.lang.String MAIL_SMTP_QUITWAIT
          This is the key for the property "mail.smtp.quitwait".
static java.lang.String MAIL_SMTP_REPORTSUCCESS
          This is the key for the property "mail.smtp.reportsuccess".
static java.lang.String MAIL_SMTP_SASL_REALM
          This is the key for the property "mail.smtp.sasl.realm".
static java.lang.String MAIL_SMTP_SENDPARTIAL
          This is the key for the property "mail.smtp.sendpartial".
static java.lang.String MAIL_SMTP_SOCKETFACTORY_CLASS
          This is the key for the property "mail.smtp.socketFactory.class".
static java.lang.String MAIL_SMTP_SOCKETFACTORY_FALLBACK
          This is the key for the property "mail.smtp.socketFactory.fallback".
static java.lang.String MAIL_SMTP_SOCKETFACTORY_PORT
          This is the key for the property "mail.smtp.socketFactory.port".
static java.lang.String MAIL_SMTP_STARTTLS_ENABLE
          This is the key for the property "mail.smtp.starttls.enable".
static java.lang.String MAIL_SMTP_SUBMITTER
          This is the key for the property "mail.smtp.submitter".
static java.lang.String MAIL_SMTP_TIMEOUT
          This is the key for the property "mail.smtp.timeout".
static java.lang.String MAIL_SMTP_USER
          This is the key for the property "mail.smtp.user".
static java.lang.String MAIL_SMTP_USERSET
          This is the key for the property "mail.smtp.userset".
static java.lang.String MAIL_STORE_PROTOCOL
          This is the key for the property "mail.store.protocol".
static java.lang.String MAIL_TRANSPORT_PROTOCOL
          This is the key for the property "mail.transport.protocol".
static java.lang.String MAIL_USER
          This is the key for the property "mail.user".
 
Fields inherited from class net.sourceforge.jaulp.email.properties.MailPropertiesConst
ADDRESS_STRICT, ALLOW8BITMIME, ALLOWREADONLYSELECT, ALTERNATES, APOP_ENABLE, APPENDBUFFERSIZE, AUTH, AUTH_LOGIN_DISABLE, AUTH_PLAIN_DISABLE, BASE64_IGNOREERRORS, CHARSET, CLASS, CONNECTIONPOOLSIZE, CONNECTIONPOOLTIMEOUT, CONNECTIONTIMEOUT, DEBUG, DECODETEXT_STRICT, DISABLETOP, DOT, DSN_NOTIFY, DSN_RET, EHLO, ENCODEEOL_STRICT, FETCHSIZE, FOLDTEXT, FORGETTOPHEADERS, FROM, HOST, IMAP, LOCALADDRESS, LOCALHOST, LOCALPORT, MAIL, MAIL_IMAP, MAIL_MIME, MAIL_POP3, MAIL_PROTOCOL, MAIL_SMTP, MAILEXTENSION, MESSAGE_CLASS, MIME, MULTIPART_IGNOREMISSINGENDBOUNDARY, PARTIALFETCH, PASSWORD, POP3, PORT, PROTOCOL, QUITWAIT, REPLYALLCC, REPORTSUCCESS, RSETBEFOREQUIT, SASL_AUTHORIZATIONID, SASL_ENABLE, SASL_MECHANISMS, SASL_REALM, SENDPARTIAL, SEPARATESTORECONNECTION, SETCONTENTTYPEFILENAME, SETDEFAULTTEXTCHARSET, SMTP, SOCKETFACTORY_CLASS, SOCKETFACTORY_FALLBACK, SOCKETFACTORY_PORT, STARTTLS_ENABLE, STATUSCACHETIMEOUT, STORE, SUBMITTER, TIMEOUT, TRANSPORT, USER, USERSET
 
Constructor Summary
PropertyKeys()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAIL_DEBUG

public static final java.lang.String MAIL_DEBUG
This is the key for the property "mail.debug". The value is the initial debug mode. Default is false. Type:boolean

See Also:
Constant Field Values

MAIL_FROM

public static final java.lang.String MAIL_FROM
This is the key for the property "mail.debug". The value is the return email address of the current user, used by the InternetAddress method getLocalAddress. Type:String

See Also:
Constant Field Values

MAIL_USER

public static final java.lang.String MAIL_USER
This is the key for the property "mail.user". The value is the default user name to use when connecting to the mail server. Used if the mail.protocol.user property isn't set. Type:String

See Also:
Constant Field Values

MAIL_HOST

public static final java.lang.String MAIL_HOST
This is the key for the property "mail.host". The value is the default host name of the mail server for both Stores and Transports. Used if the mail.protocol.host property isn't set. Type:String

See Also:
Constant Field Values

MAIL_ALTERNATES

public static final java.lang.String MAIL_ALTERNATES
This is the key for the property "mail.alternates". The value is a string containing other email addresses that the current user is known by. The MimeMessage reply method will eliminate any of these addresses from the recipient list in the message it constructs, to avoid sending the reply back to the sender. Type:String

See Also:
Constant Field Values

MAIL_REPLYALLCC

public static final java.lang.String MAIL_REPLYALLCC
This is the key for the property "mail.replyallcc". If the value is set to "true", the MimeMessage reply method will put all recipients except the original sender in the Cc list of the newly constructed message. Normally, recipients in the To header of the original message will also appear in the To list of the newly constructed message. Type:boolean

See Also:
Constant Field Values

MAIL_TRANSPORT_PROTOCOL

public static final java.lang.String MAIL_TRANSPORT_PROTOCOL
This is the key for the property "mail.transport.protocol". The value specifies the default message access protocol. The Session method getTransport() returns a Transport object that implements this protocol. By default the first Transport provider in the configuration files is returned. Type:String

See Also:
Constant Field Values

MAIL_STORE_PROTOCOL

public static final java.lang.String MAIL_STORE_PROTOCOL
This is the key for the property "mail.store.protocol". The value specifies the default message access protocol. The Session method getStore() returns a Store object that implements this protocol. By default the first Store provider in the configuration files is returned. Type:String

See Also:
Constant Field Values

MAIL_PROTOCOL_CLASS

public static final java.lang.String MAIL_PROTOCOL_CLASS
This is the key for the property "mail.user". The value specifies the fully qualified class name of the provider for the specified protocol. Used in cases where more than one provider for a given protocol exists; this property can be used to specify which provider to use by default. The provider must still be listed in a configuration file. Type:String

See Also:
Constant Field Values

MAIL_PROTOCOL_HOST

public static final java.lang.String MAIL_PROTOCOL_HOST
This is the key for the property "mail.protocol.host". The value is the host name of the mail server for the specified protocol. Overrides the mail.host property. Type:String

See Also:
Constant Field Values

MAIL_PROTOCOL_PORT

public static final java.lang.String MAIL_PROTOCOL_PORT
This is the key for the property "mail.protocol.port". The value is the port number of the mail server for the specified protocol. If not specified the protocol's default port number is used. Type:int

See Also:
Constant Field Values

MAIL_PROTOCOL_USER

public static final java.lang.String MAIL_PROTOCOL_USER
This is the key for the property "mail.protocol.user". The value is the user name to use when connecting to mail servers using the specified protocol. Overrides the mail.user property. Type:String

See Also:
Constant Field Values

MAIL_MIME_ADDRESS_STRICT

public static final java.lang.String MAIL_MIME_ADDRESS_STRICT
This is the key for the property "mail.mime.address.strict". The value is the MimeMessage class uses the InternetAddress method parseHeader to parse headers in messages. This property controls the strict flag passed to the parseHeader method. The default is true. Type:boolean

See Also:
Constant Field Values

MAIL_MIME_CHARSET

public static final java.lang.String MAIL_MIME_CHARSET
This is the key for the property "mail.mime.charset". The value is the default charset to be used by JavaMail. If not set (the normal case), the standard J2SE file.encoding System property is used. This allows applications to specify a default character set for sending messages that's different than the character set used for files stored on the system. This is common on Japanese systems. Type:String

See Also:
Constant Field Values

MAIL_MIME_DECODETEXT_STRICT

public static final java.lang.String MAIL_MIME_DECODETEXT_STRICT
This is the key for the property "mail.mime.decodetext.strict". RFC 2047 requires that encoded text start at the beginning of a whitespace separated word. Some mailers, especially Japanese mailers, improperly encode text and include encoded text in the middle of words. The value of this property controls whether JavaMail will attempt to decode such incorrectly encoded text. The default is true, meaning that JavaMail wil not attempt to decode such improperly decoded text. Type:boolean

See Also:
Constant Field Values

MAIL_MIME_ENCODEEOL_STRICT

public static final java.lang.String MAIL_MIME_ENCODEEOL_STRICT
This is the key for the property "mail.mime.encodeeol.strict". When choosing an encoding for the data of a message, JavaMail assumes that any of CR, LF, or CRLF are valid line terminators in message parts that contain only printable ASCII characters, even if the part is not a MIME text type. It's common, especially on UNIX systems, for data of MIME type application/octet-stream (for example) to really be textual data that should be transmitted with the encoding rules for MIME text. In rare cases, such pure ASCII text may in fact be binary data in which the CR and LF characters must be preserved exactly. If the value of this property is set to true, JavaMail will consider a lone CR or LF in a body part that's not a MIME text type to indicate that the body part needs to be encoded. The default is false. Type:boolean

See Also:
Constant Field Values

MAIL_MIME_BASE64_IGNOREERRORS

public static final java.lang.String MAIL_MIME_BASE64_IGNOREERRORS
This is the key for the property "mail.mime.base64.ignoreerrors". If the value is set to "true", the BASE64 decoder will ignore errors in the encoded data, returning EOF. This may be useful when dealing with improperly encoded messages that contain extraneous data at the end of the encoded stream. Note however that errors anywhere in the stream will cause the decoder to stop decoding so this should be used with extreme caution. The default is false. Type:boolean

See Also:
Constant Field Values

MAIL_MIME_FOLDTEXT

public static final java.lang.String MAIL_MIME_FOLDTEXT
This is the key for the property "mail.mime.foldtext". If the value is set to "true", header fields containing just text such as the Subject and Content-Description header fields, and long parameter values in structured headers such as Content-Type will be folded (broken into 76 character lines) when set and unfolded when read. The default is true. Type:boolean

See Also:
Constant Field Values

MAIL_MIME_SETCONTENTTYPEFILENAME

public static final java.lang.String MAIL_MIME_SETCONTENTTYPEFILENAME
This is the key for the property "mail.mime.setcontenttypefilename". If the value is set to "true", the setFileName method will also set the name parameter on the Content-Type header to the specified filename. This supports interoperability with some old mail clients. The default is true. Type:boolean

See Also:
Constant Field Values

MAIL_MIME_SETDEFAULTTEXTCHARSET

public static final java.lang.String MAIL_MIME_SETDEFAULTTEXTCHARSET
This is the key for the property "mail.mime.setdefaulttextcharset". When updating the headers of a message, a body part with a text content type but no charset parameter will have a charset parameter added to it if the value of this property is set to "true". The default is true. Type:boolean

See Also:
Constant Field Values

MAIL_MIME_MULTIPART_IGNOREMISSINGENDBOUNDARY

public static final java.lang.String MAIL_MIME_MULTIPART_IGNOREMISSINGENDBOUNDARY
This is the key for the property "mail.mime.multipart.ignoremissingendboundary". Normally, when parsing a multipart MIME message, a message that is missing the final end boundary line is not considered an error. The data simply ends at the end of the input. Note that messages of this form violate the MIME specification. If the property mail.mime.multipart.ignoremissingendboundary is set to false, such messages are considered an error and a MesagingException will be thrown when parsing such a message. Type:boolean

See Also:
Constant Field Values

MAIL_POP3_USER

public static final java.lang.String MAIL_POP3_USER
This is the key for the property "mail.pop3.user". The value is the default user name for POP3.

See Also:
Constant Field Values

MAIL_POP3_HOST

public static final java.lang.String MAIL_POP3_HOST
This is the key for the property "mail.pop3.host". The value is the POP3 server to connect to.

See Also:
Constant Field Values

MAIL_POP3_PORT

public static final java.lang.String MAIL_POP3_PORT
This is the key for the property "mail.pop3.port". The value is the POP3 server port to connect to, if the connect() method doesn't explicitly specify one. Defaults to 110.

See Also:
Constant Field Values

MAIL_POP3_CONNECTIONTIMEOUT

public static final java.lang.String MAIL_POP3_CONNECTIONTIMEOUT
This is the key for the property "mail.pop3.connectiontimeout". The value is the socket connection timeout value in milliseconds. Default is infinite timeout.

See Also:
Constant Field Values

MAIL_POP3_TIMEOUT

public static final java.lang.String MAIL_POP3_TIMEOUT
This is the key for the property "mail.pop3.connectiontimeout". The value is the socket connection timeout value in milliseconds. Default is infinite timeout.

See Also:
Constant Field Values

MAIL_POP3_RSETBEFOREQUIT

public static final java.lang.String MAIL_POP3_RSETBEFOREQUIT
This is the key for the property "mail.pop3.rsetbeforequit". The value send a POP3 RSET command when closing the folder, before sending the QUIT command. Useful with POP3 servers that implicitly mark all messages that are read as "deleted"; this will prevent such messages from being deleted and expunged unless the client requests so. Default is false.

See Also:
Constant Field Values

MAIL_POP3_MESSAGE_CLASS

public static final java.lang.String MAIL_POP3_MESSAGE_CLASS
This is the key for the property "mail.pop3.message.class". The value is the class name of a subclass of com.sun.mail.pop3.POP3Message. The subclass can be used to handle (for example) non-standard Content-Type headers. The subclass must have a public constructor of the form MyPOP3Message(Folder f, int msgno) throws MessagingException.

See Also:
Constant Field Values

MAIL_POP3_LOCALADDRESS

public static final java.lang.String MAIL_POP3_LOCALADDRESS
This is the key for the property "mail.pop3.localaddress". The value is the local address (host name) to bind to when creating the POP3 socket. Defaults to the address picked by the Socket class. Should not normally need to be set, but useful with multi-homed hosts where it's important to pick a particular local address to bind to.

See Also:
Constant Field Values

MAIL_POP3_LOCALPORT

public static final java.lang.String MAIL_POP3_LOCALPORT
This is the key for the property "mail.pop3.localport". The value is the local port number to bind to when creating the POP3 socket. Defaults to the port number picked by the Socket class.

See Also:
Constant Field Values

MAIL_POP3_APOP_ENABLE

public static final java.lang.String MAIL_POP3_APOP_ENABLE
This is the key for the property "mail.pop3.apop.enable". If the value is set to true, use APOP instead of USER/PASS to login to the POP3 server, if the POP3 server supports APOP. APOP sends a digest of the password rather than the clear text password. Defaults to false.

See Also:
Constant Field Values

MAIL_POP3_SOCKETFACTORY_CLASS

public static final java.lang.String MAIL_POP3_SOCKETFACTORY_CLASS
This is the key for the property "mail.pop3.socketFactory.class". If the value is set, it specifies the name of a class that implements the javax.net.SocketFactory interface. This class will be used to create POP3 sockets.

See Also:
Constant Field Values

MAIL_POP3_SOCKETFACTORY_FALLBACK

public static final java.lang.String MAIL_POP3_SOCKETFACTORY_FALLBACK
This is the key for the property "mail.pop3.socketFactory.fallback". If the value is set to true, failure to create a socket using the specified socket factory class will cause the socket to be created using the java.net.Socket class. Defaults to true.

See Also:
Constant Field Values

MAIL_POP3_SOCKETFACTORY_PORT

public static final java.lang.String MAIL_POP3_SOCKETFACTORY_PORT
This is the key for the property "mail.pop3.socketFactory.port". The value specifies the port to connect to when using the specified socket factory. If not set, the default port will be used.

See Also:
Constant Field Values

MAIL_POP3_DISABLETOP

public static final java.lang.String MAIL_POP3_DISABLETOP
This is the key for the property "mail.pop3.disabletop". If the value is set to true, the POP3 TOP command will not be used to fetch message headers. This is useful for POP3 servers that don't properly implement the TOP command, or that provide incorrect information in the TOP command results. Defaults to false.

See Also:
Constant Field Values

MAIL_POP3_FORGETTOPHEADERS

public static final java.lang.String MAIL_POP3_FORGETTOPHEADERS
This is the key for the property "mail.pop3.forgettopheaders". If the value is set to true, the headers that might have been retrieved using the POP3 TOP command will be forgotten and replaced by headers retrieved as part of the POP3 RETR command. Some servers, such as some version of Microsft Exchange, will return slightly different headers each time the TOP or RETR command is used. To allow the POP3 provider to properly parse the message content returned from the RETR command, the headers also returned by the RETR command must be used. Setting this property to true will cause these headers to be used, even if they differ from the headers returned previously as a result of using the TOP command. Defaults to false.

See Also:
Constant Field Values

MAIL_IMAP_USER

public static final java.lang.String MAIL_IMAP_USER
This is the key for the property "mail.imap.user". The value is the default user name for IMAP. Type:String

See Also:
Constant Field Values

MAIL_IMAP_PASSWORD

public static final java.lang.String MAIL_IMAP_PASSWORD
This is the key for the property "mail.imap.password". The value is the password for the user for IMAP. Type:String

See Also:
Constant Field Values

MAIL_IMAP_HOST

public static final java.lang.String MAIL_IMAP_HOST
This is the key for the property "mail.imap.host". The value is the IMAP server to connect to. Type:String

See Also:
Constant Field Values

MAIL_IMAP_PORT

public static final java.lang.String MAIL_IMAP_PORT
This is the key for the property "mail.imap.port". The value is the IMAP server port to connect to, if the connect() method doesn't explicitly specify one. Defaults to 143. Type:int

See Also:
Constant Field Values

MAIL_IMAP_PARTIALFETCH

public static final java.lang.String MAIL_IMAP_PARTIALFETCH
This is the key for the property "mail.imap.partialfetch". The value controls whether the IMAP partial-fetch capability should be used. Defaults to true. Type:boolean

See Also:
Constant Field Values

MAIL_IMAP_FETCHSIZE

public static final java.lang.String MAIL_IMAP_FETCHSIZE
This is the key for the property "mail.imap.fetchsize". The value is the partial fetch size in bytes. Defaults to 16K. Type:int

See Also:
Constant Field Values

MAIL_IMAP_CONNECTIONTIMEOUT

public static final java.lang.String MAIL_IMAP_CONNECTIONTIMEOUT
This is the key for the property "mail.imap.connectiontimeout". The value is the socket connection timeout value in milliseconds. Default is infinite timeout. Type:int

See Also:
Constant Field Values

MAIL_IMAP_TIMEOUT

public static final java.lang.String MAIL_IMAP_TIMEOUT
This is the key for the property "mail.imap.timeout". The value is the socket I/O timeout value in milliseconds. Default is infinite timeout. Type:int

See Also:
Constant Field Values

MAIL_IMAP_STATUSCACHETIMEOUT

public static final java.lang.String MAIL_IMAP_STATUSCACHETIMEOUT
This is the key for the property "mail.imap.statuscachetimeout". The value is the timeout value in milliseconds for cache of STATUS command response. Default is 1000 (1 second). Zero disables cache. Type:int

See Also:
Constant Field Values

MAIL_IMAP_APPENDBUFFERSIZE

public static final java.lang.String MAIL_IMAP_APPENDBUFFERSIZE
This is the key for the property "mail.imap.appendbuffersize". The value is the maximum size of a message to buffer in memory when appending to an IMAP folder. If not set, or set to -1, there is no maximum and all messages are buffered. If set to 0, no messages are buffered. If set to (e.g.) 8192, messages of 8K bytes or less are buffered, larger messages are not buffered. Buffering saves cpu time at the expense of short term memory usage. If you commonly append very large messages to IMAP mailboxes you might want to set this to a moderate value (1M or less). Type:int

See Also:
Constant Field Values

MAIL_IMAP_CONNECTIONPOOLSIZE

public static final java.lang.String MAIL_IMAP_CONNECTIONPOOLSIZE
This is the key for the property "mail.imap.connectionpoolsize". The value is the maximum number of available connections in the connection pool. Default is 1. Type:int

See Also:
Constant Field Values

MAIL_IMAP_CONNECTIONPOOLTIMEOUT

public static final java.lang.String MAIL_IMAP_CONNECTIONPOOLTIMEOUT
This is the key for the property "mail.imap.connectionpooltimeout". The value is the timeout value in milliseconds for connection pool connections. Default is 45000 (45 seconds). Type:int

See Also:
Constant Field Values

MAIL_IMAP_SEPARATESTORECONNECTION

public static final java.lang.String MAIL_IMAP_SEPARATESTORECONNECTION
This is the key for the property "mail.imap.separatestoreconnection". The value is a flag to indicate whether to use a dedicated store connection for store commands. Default is false. Type:boolean

See Also:
Constant Field Values

MAIL_IMAP_ALLOWREADONLYSELECT

public static final java.lang.String MAIL_IMAP_ALLOWREADONLYSELECT
This is the key for the property "mail.imap.allowreadonlyselect". If the value is set to false, attempts to open a folder read/write will fail if the SELECT command succeeds but indicates that the folder is READ-ONLY. This sometimes indicates that the folder contents can'tbe changed, but the flags are per-user and can be changed, such as might be the case for public shared folders. If true, such open attempts will succeed, allowing the flags to be changed. The getMode method on the Folder object will return Folder.READ_ONLY in this case even though the open method specified Folder.READ_WRITE. Default is false. Type:boolean

See Also:
Constant Field Values

MAIL_IMAP_AUTH_LOGIN_DISABLE

public static final java.lang.String MAIL_IMAP_AUTH_LOGIN_DISABLE
This is the key for the property "mail.imap.auth.login.disable". If the value is set to true, prevents use of the non-standard AUTHENTICATE LOGIN command, instead using the plain LOGIN command. Default is false. Type:boolean

See Also:
Constant Field Values

MAIL_IMAP_AUTH_PLAIN_DISABLE

public static final java.lang.String MAIL_IMAP_AUTH_PLAIN_DISABLE
This is the key for the property "mail.imap.auth.plain.disable". If the value is set to true, prevents use of the AUTHENTICATE PLAIN command. Default is false. Type:boolean

See Also:
Constant Field Values

MAIL_IMAP_STARTTLS_ENABLE

public static final java.lang.String MAIL_IMAP_STARTTLS_ENABLE
This is the key for the property "mail.imap.starttls.enable". If the value is set to true, enables the use of the STARTTLS command (if supported by the server) to switch the connection to a TLS-protected connection before issuing any login commands. Note that an appropriate trust store must configured so that the client will trust the server's certificate. This feature only works on J2SE 1.4 and newer systems. Default is false. Type:boolean

See Also:
Constant Field Values

MAIL_IMAP_LOCALADDRESS

public static final java.lang.String MAIL_IMAP_LOCALADDRESS
This is the key for the property "mail.imap.localaddress". The value is the local address (host name) to bind to when creating the IMAP socket. Defaults to the address picked by the Socket class. Should not normally need to be set, but useful with multi-homed hosts where it's important to pick a particular local address to bind to. Type:String

See Also:
Constant Field Values

MAIL_IMAP_LOCALPORT

public static final java.lang.String MAIL_IMAP_LOCALPORT
This is the key for the property "mail.imap.localport". The value is the local port number to bind to when creating the IMAP socket. Defaults to the port number picked by the Socket class. Type:int

See Also:
Constant Field Values

MAIL_IMAP_SASL_ENABLE

public static final java.lang.String MAIL_IMAP_SASL_ENABLE
This is the key for the property "mail.imap.sasl.enable". If the value is set to true, attempt to use the javax.security.sasl package to choose an authentication mechanism for login. Defaults to false. Type:boolean

See Also:
Constant Field Values

MAIL_IMAP_SASL_MECHANISMS

public static final java.lang.String MAIL_IMAP_SASL_MECHANISMS
This is the key for the property "mail.imap.sasl.mechanisms". The value is a space or comma separated list of SASL mechanism names to try to use. Type:String

See Also:
Constant Field Values

MAIL_IMAP_SASL_AUTHORIZATIONID

public static final java.lang.String MAIL_IMAP_SASL_AUTHORIZATIONID
This is the key for the property "mail.imap.sasl.authorizationid". The value specifies the authorization ID to use in the SASL authentication. If not set, the authentication ID (user name) is used. Type:String

See Also:
Constant Field Values

MAIL_IMAP_SOCKETFACTORY_CLASS

public static final java.lang.String MAIL_IMAP_SOCKETFACTORY_CLASS
This is the key for the property "mail.imap.socketFactory.class". If the value is set, specifies the name of a class that implements the javax.net.SocketFactory interface. This class will be used to create IMAP sockets. Type:String

See Also:
Constant Field Values

MAIL_IMAP_SOCKETFACTORY_FALLBACK

public static final java.lang.String MAIL_IMAP_SOCKETFACTORY_FALLBACK
This is the key for the property "mail.imap.socketFactory.fallback". If the value is set to true, failure to create a socket using the specified socket factory class will cause the socket to be created using the java.net.Socket class. Defaults to true. Type:boolean

See Also:
Constant Field Values

MAIL_IMAP_SOCKETFACTORY_PORT

public static final java.lang.String MAIL_IMAP_SOCKETFACTORY_PORT
This is the key for the property "mail.imap.socketFactory.port". The value specifies the port to connect to when using the specified socket factory. If not set, the default port will be used. Type:int

See Also:
Constant Field Values

MAIL_SMTP_USER

public static final java.lang.String MAIL_SMTP_USER
This is the key for the property "mail.smtp.user". The value is the default user name for SMTP. Type:String

See Also:
Constant Field Values

MAIL_SMTP_HOST

public static final java.lang.String MAIL_SMTP_HOST
This is the key for the property "mail.smtp.host". The value is the SMTP server to connect to. Type:String

See Also:
Constant Field Values

MAIL_SMTP_PORT

public static final java.lang.String MAIL_SMTP_PORT
This is the key for the property "mail.smtp.port". The value is the SMTP server port to connect to, if the connect() method doesn't explicitly specify one. Defaults to 25. Type:int

See Also:
Constant Field Values

MAIL_SMTP_CONNECTIONTIMEOUT

public static final java.lang.String MAIL_SMTP_CONNECTIONTIMEOUT
This is the key for the property "mail.smtp.connectiontimeout". The value is the socket connection timeout value in milliseconds. Default is infinite timeout. Type:int

See Also:
Constant Field Values

MAIL_SMTP_TIMEOUT

public static final java.lang.String MAIL_SMTP_TIMEOUT
This is the key for the property "mail.smtp.timeout". The value is the socket I/O timeout value in milliseconds. Default is infinite timeout. Type:int

See Also:
Constant Field Values

MAIL_SMTP_FROM

public static final java.lang.String MAIL_SMTP_FROM
This is the key for the property "mail.smtp.from". The value is the email address to use for SMTP MAIL command. This sets the envelope return address. Defaults to msg.getFrom() or InternetAddress.getLocalAddress(). NOTE: mail.smtp.user was previously used for this. Type:String

See Also:
Constant Field Values

MAIL_SMTP_LOCALHOST

public static final java.lang.String MAIL_SMTP_LOCALHOST
This is the key for the property "mail.smtp.localhost". The value is the local host name used in the SMTP HELO or EHLO command. Defaults to InetAddress.getLocalHost().getHostName(). Should not normally need to be set if your JDK and your name service are configured properly. Type:String

See Also:
Constant Field Values

MAIL_SMTP_LOCALADDRESS

public static final java.lang.String MAIL_SMTP_LOCALADDRESS
This is the key for the property "mail.smtp.localaddress". The value is the local address (host name) to bind to when creating the SMTP socket. Defaults to the address picked by the Socket class. Should not normally need to be set, but useful with multi-homed hosts where it's important to pick a particular local address to bind to. Type:String

See Also:
Constant Field Values

MAIL_SMTP_LOCALPORT

public static final java.lang.String MAIL_SMTP_LOCALPORT
This is the key for the property "mail.smtp.localport". The value is the local port number to bind to when creating the SMTP socket. Defaults to the port number picked by the Socket class. Type:int

See Also:
Constant Field Values

MAIL_SMTP_EHLO

public static final java.lang.String MAIL_SMTP_EHLO
This is the key for the property "mail.smtp.ehlo". If the value is set to false, do not attempt to sign on with the EHLO command. Defaults to true. Normally failure of the EHLO command will fallback to the HELO command; this property exists only for servers that don't fail EHLO properly or don't implement EHLO properly. Type:boolean

See Also:
Constant Field Values

MAIL_SMTP_AUTH

public static final java.lang.String MAIL_SMTP_AUTH
This is the key for the property "mail.smtp.auth". If the value is set to true, attempt to authenticate the user using the AUTH command. Defaults to false. Type:boolean

See Also:
Constant Field Values

MAIL_SMTP_SUBMITTER

public static final java.lang.String MAIL_SMTP_SUBMITTER
This is the key for the property "mail.smtp.submitter". The value is the submitter to use in the AUTH tag in the MAIL FROM command. Typically used by a mail relay to pass along information about the original submitter of the message. See also the setSubmitter method of SMTPMessage. Mail clients typically do not use this. Type:String

See Also:
Constant Field Values

MAIL_SMTP_DSN_NOTIFY

public static final java.lang.String MAIL_SMTP_DSN_NOTIFY
This is the key for the property "mail.smtp.dsn.notify". The value is the NOTIFY option to the RCPT command. Either NEVER, or some combination of SUCCESS, FAILURE, and DELAY (separated by commas). Type:String

See Also:
Constant Field Values

MAIL_SMTP_DSN_RET

public static final java.lang.String MAIL_SMTP_DSN_RET
This is the key for the property "mail.smtp.dsn.ret". The value is the RET option to the MAIL command. Either FULL or HDRS. Type:String

See Also:
Constant Field Values

MAIL_SMTP_ALLOW8BITMIME

public static final java.lang.String MAIL_SMTP_ALLOW8BITMIME
This is the key for the property "mail.smtp.allow8bitmime". If the value is set to true, and the server supports the 8BITMIME extension, text parts of messages that use the "quoted-printable" or "base64" encodings are converted to use "8bit" encoding if they follow the RFC2045 rules for 8bit text. Type:boolean

See Also:
Constant Field Values

MAIL_SMTP_SENDPARTIAL

public static final java.lang.String MAIL_SMTP_SENDPARTIAL
This is the key for the property "mail.smtp.sendpartial". If the value is set to true, and a message has some valid and some invalid addresses, send the message anyway, reporting the partial failure with a SendFailedException. If set to false (the default), the message is not sent to any of the recipients if there is an invalid recipient address. Type:boolean

See Also:
Constant Field Values

MAIL_SMTP_SASL_REALM

public static final java.lang.String MAIL_SMTP_SASL_REALM
This is the key for the property "mail.smtp.sasl.realm". The value specifies the realm to use with DIGEST-MD5 authentication. Type:String

See Also:
Constant Field Values

MAIL_SMTP_QUITWAIT

public static final java.lang.String MAIL_SMTP_QUITWAIT
This is the key for the property "mail.smtp.quitwait". If the value is set to false, the QUIT command is sent and the connection is immediately closed. If set to true (the default), causes the transport to wait for the response to the QUIT command. Type:boolean

See Also:
Constant Field Values

MAIL_SMTP_REPORTSUCCESS

public static final java.lang.String MAIL_SMTP_REPORTSUCCESS
This is the key for the property "mail.smtp.reportsuccess". If the value is set to true, causes the transport to include an SMTPAddressSucceededException for each address that is successful. Note also that this will cause a SendFailedException to be thrown from the sendMessage method of SMTPTransport even if all addresses were correct and the message was sent successfully. Type:boolean

See Also:
Constant Field Values

MAIL_SMTP_SOCKETFACTORY_CLASS

public static final java.lang.String MAIL_SMTP_SOCKETFACTORY_CLASS
This is the key for the property "mail.smtp.socketFactory.class". If the value is set, it specifies the name of a class that implements the javax.net.SocketFactory interface. This class will be used to create SMTP sockets. Type:String

See Also:
Constant Field Values

MAIL_SMTP_SOCKETFACTORY_FALLBACK

public static final java.lang.String MAIL_SMTP_SOCKETFACTORY_FALLBACK
This is the key for the property "mail.smtp.socketFactory.fallback". If the value is set to true, failure to create a socket using the specified socket factory class will cause the socket to be created using the java.net.Socket class. Defaults to true. Type:boolean

See Also:
Constant Field Values

MAIL_SMTP_SOCKETFACTORY_PORT

public static final java.lang.String MAIL_SMTP_SOCKETFACTORY_PORT
This is the key for the property "mail.smtp.socketFactory.port". The value specifies the port to connect to when using the specified socket factory. If not set, the default port will be used. Type:int

See Also:
Constant Field Values

MAIL_SMTP_MAILEXTENSION

public static final java.lang.String MAIL_SMTP_MAILEXTENSION
This is the key for the property "mail.smtp.mailextension". The value is an Extension string to append to the MAIL command. The extension string can be used to specify standard SMTP service extensions as well as vendor-specific extensions. Typically the application should use the SMTPTransport method supportsExtension to verify that the server supports the desired service extension. See RFC 1869 and other RFCs that define specific extensions. Type:String

See Also:
Constant Field Values

MAIL_SMTP_STARTTLS_ENABLE

public static final java.lang.String MAIL_SMTP_STARTTLS_ENABLE
This is the key for the property "mail.smtp.starttls.enable". If the value is true, it enables the use of the STARTTLS command (if supported by the server) to switch the connection to a TLS-protected connection before issuing any login commands. Note that an appropriate trust store must configured so that the client will trust the server's certificate. Defaults to false. Type:boolean

See Also:
Constant Field Values

MAIL_SMTP_USERSET

public static final java.lang.String MAIL_SMTP_USERSET
This is the key for the property "mail.smtp.userset". If the value is set to true, use the RSET command instead of the NOOP command in the isConnected method. In some cases sendmail will respond slowly after many NOOP commands; use of RSET avoids this sendmail issue. Defaults to false. Type:boolean

See Also:
Constant Field Values
Constructor Detail

PropertyKeys

public PropertyKeys()


Copyright © 2010. All Rights Reserved.