public final class EmailConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTACHMENTS
Deprecated.
since 1.3, not in use since 1.0
|
static java.lang.String |
CONTENT_TYPE
Deprecated.
since 1.3, not in use since 1.0
|
static java.lang.String |
EMAIL_BODY
Deprecated.
since 1.3, not in use since 1.0
|
static java.lang.String |
EMAIL_SUBJECT
Deprecated.
since 1.3, not in use since 1.0
|
static java.lang.String |
FILE_SERVER
Deprecated.
since 1.3, not in use since 1.0
|
static java.lang.String |
ISO_8859_1
charset constant for iso-8859-1
|
static java.lang.String |
KOI8_R
charset constant for koi8-r
|
static java.lang.String |
MAIL_DEBUG
The debug mode to be used.
|
static java.lang.String |
MAIL_FROM
The from email address.
|
static java.lang.String |
MAIL_HOST
The host name of the mail server.
|
static java.lang.String |
MAIL_MIME_CHARSET
Defines the default mime charset to use when none has been specified for the message.
|
static java.lang.String |
MAIL_PORT
The port number of the mail server.
|
static java.lang.String |
MAIL_SMTP_AUTH
If set to true, tries to authenticate the user using the AUTH command.
|
static java.lang.String |
MAIL_SMTP_CONNECTIONTIMEOUT
Socket connection timeout value in milliseconds.
|
static java.lang.String |
MAIL_SMTP_FROM
The email address to use for SMTP MAIL command.
|
static java.lang.String |
MAIL_SMTP_PASSWORD
The SMTP password.
|
static java.lang.String |
MAIL_SMTP_SEND_PARTIAL
If set to true, and a message has some valid and some invalid addresses, send the message anyway,
reporting the partial failure with a SendFailedException.
|
static java.lang.String |
MAIL_SMTP_SOCKET_FACTORY_CLASS
Specifies the
SocketFactory class to create smtp sockets. |
static java.lang.String |
MAIL_SMTP_SOCKET_FACTORY_FALLBACK
Whether to use
Socket as a fallback if the initial connection fails or not. |
static java.lang.String |
MAIL_SMTP_SOCKET_FACTORY_PORT
Specifies the port to connect to when using a socket factory.
|
static java.lang.String |
MAIL_SMTP_SSL_CHECKSERVERIDENTITY
If set to true, check the server identity as specified in RFC 2595.
|
static java.lang.String |
MAIL_SMTP_SSL_ENABLE
If set to true, use SSL to connect and use the SSL port by default.
|
static java.lang.String |
MAIL_SMTP_SSL_SOCKET_FACTORY_CLASS
Specifies the
SSLSocketFactory class to use to create SMTP SSL sockets. |
static java.lang.String |
MAIL_SMTP_SSL_SOCKET_FACTORY_PORT
Specifies the port to connect to when using the SMTP SSL socket factory.
|
static java.lang.String |
MAIL_SMTP_TIMEOUT
Socket I/O timeout value in milliseconds.
|
static java.lang.String |
MAIL_SMTP_USER
The SMTP user name.
|
static java.lang.String |
MAIL_SMTPS_SEND_PARTIAL
If set to true, and a message has some valid and some invalid addresses, send the message anyway,
reporting the partial failure with a SendFailedException.
|
static java.lang.String |
MAIL_TRANSPORT_PROTOCOL
Specifies the default transport protocol
|
static java.lang.String |
MAIL_TRANSPORT_STARTTLS_ENABLE
Indicates if the STARTTLS command shall be used to initiate a TLS-secured connection.
|
static java.lang.String |
MAIL_TRANSPORT_STARTTLS_REQUIRED
If true, requires the use of the STARTTLS command.
|
static java.lang.String |
MAIL_TRANSPORT_TLS
Deprecated.
since 1.3
|
static java.lang.String |
RECEIVER_EMAIL
Deprecated.
since 1.3, not in use since 1.0
|
static java.lang.String |
RECEIVER_NAME
Deprecated.
since 1.3, not in use since 1.0
|
static java.lang.String |
SENDER_EMAIL
Deprecated.
since 1.3, not in use since 1.0
|
static java.lang.String |
SENDER_NAME
Deprecated.
since 1.3, not in use since 1.0
|
static java.lang.String |
SMTP
the value to use SMTP as transport protocol
|
static int |
SOCKET_TIMEOUT_MS
Default socket timeout.
|
static java.lang.String |
TEXT_HTML
defines the text/html content type
|
static java.lang.String |
TEXT_PLAIN
defines the text/plain content type
|
static java.lang.String |
TEXT_SUBTYPE_HTML
defines the html subtype
|
static java.lang.String |
US_ASCII
charset constant for us-ascii
|
static java.lang.String |
UTF_8
charset constant for utf-8
|
@Deprecated public static final java.lang.String SENDER_EMAIL
@Deprecated public static final java.lang.String SENDER_NAME
@Deprecated public static final java.lang.String RECEIVER_EMAIL
@Deprecated public static final java.lang.String RECEIVER_NAME
@Deprecated public static final java.lang.String EMAIL_SUBJECT
@Deprecated public static final java.lang.String EMAIL_BODY
@Deprecated public static final java.lang.String CONTENT_TYPE
@Deprecated public static final java.lang.String ATTACHMENTS
@Deprecated public static final java.lang.String FILE_SERVER
public static final java.lang.String KOI8_R
public static final java.lang.String ISO_8859_1
public static final java.lang.String US_ASCII
public static final java.lang.String UTF_8
public static final java.lang.String MAIL_DEBUG
public static final java.lang.String MAIL_HOST
public static final java.lang.String MAIL_PORT
public static final java.lang.String MAIL_SMTP_FROM
public static final java.lang.String MAIL_SMTP_AUTH
public static final java.lang.String MAIL_SMTP_USER
public static final java.lang.String MAIL_SMTP_PASSWORD
public static final java.lang.String MAIL_TRANSPORT_PROTOCOL
public static final java.lang.String SMTP
public static final java.lang.String TEXT_HTML
public static final java.lang.String TEXT_SUBTYPE_HTML
public static final java.lang.String TEXT_PLAIN
@Deprecated public static final java.lang.String MAIL_TRANSPORT_TLS
public static final java.lang.String MAIL_TRANSPORT_STARTTLS_ENABLE
public static final java.lang.String MAIL_SMTP_SOCKET_FACTORY_FALLBACK
Socket
as a fallback if the initial connection fails or not.public static final java.lang.String MAIL_SMTP_SOCKET_FACTORY_CLASS
SocketFactory
class to create smtp sockets.public static final java.lang.String MAIL_SMTP_SOCKET_FACTORY_PORT
public static final java.lang.String MAIL_SMTP_CONNECTIONTIMEOUT
public static final java.lang.String MAIL_SMTP_TIMEOUT
public static final int SOCKET_TIMEOUT_MS
public static final java.lang.String MAIL_TRANSPORT_STARTTLS_REQUIRED
public static final java.lang.String MAIL_SMTP_SSL_ENABLE
public static final java.lang.String MAIL_SMTP_SSL_CHECKSERVERIDENTITY
public static final java.lang.String MAIL_SMTP_SSL_SOCKET_FACTORY_CLASS
SSLSocketFactory
class to use to create SMTP SSL sockets.public static final java.lang.String MAIL_SMTP_SSL_SOCKET_FACTORY_PORT
public static final java.lang.String MAIL_SMTP_SEND_PARTIAL
public static final java.lang.String MAIL_SMTPS_SEND_PARTIAL
public static final java.lang.String MAIL_MIME_CHARSET
public static final java.lang.String MAIL_FROM
Copyright © 2010 - 2020 Adobe. All Rights Reserved