Index

C E I K M O P R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

C

call(Callable<V>) - Static method in exception org.apache.commons.mail2.core.EmailException
 
check(Supplier<Boolean>, T, Supplier<String>) - Static method in exception org.apache.commons.mail2.core.EmailException
 
checkNonEmpty(String, Supplier<String>) - Static method in exception org.apache.commons.mail2.core.EmailException
 
checkNonEmpty(Collection<T>, Supplier<String>) - Static method in exception org.apache.commons.mail2.core.EmailException
 
checkNonEmpty(T[], Supplier<String>) - Static method in exception org.apache.commons.mail2.core.EmailException
 
checkNonNull(T, Supplier<String>) - Static method in exception org.apache.commons.mail2.core.EmailException
 

E

EmailConstants - Class in org.apache.commons.mail2.core
Constants used by Email classes.
EmailException - Exception in org.apache.commons.mail2.core
Exception thrown when a checked error occurs in commons-email.
EmailException() - Constructor for exception org.apache.commons.mail2.core.EmailException
Constructs a new EmailException with no detail message.
EmailException(String) - Constructor for exception org.apache.commons.mail2.core.EmailException
Constructs a new EmailException with specified detail message.
EmailException(String, Throwable) - Constructor for exception org.apache.commons.mail2.core.EmailException
Constructs a new EmailException with specified detail message and nested Throwable root cause.
EmailException(Throwable) - Constructor for exception org.apache.commons.mail2.core.EmailException
Constructs a new EmailException with specified nested Throwable root cause.
EmailUtils - Class in org.apache.commons.mail2.core
Utility methods used by commons-email.
encodeUrl(String) - Static method in class org.apache.commons.mail2.core.EmailUtils
Encodes an input string according to RFC 2392.

I

isEmpty(Object[]) - Static method in class org.apache.commons.mail2.core.EmailUtils
 
isEmpty(String) - Static method in class org.apache.commons.mail2.core.EmailUtils
Checks if a String is empty ("") or null.
isEmpty(Collection<?>) - Static method in class org.apache.commons.mail2.core.EmailUtils
 
isEmpty(Map<?, ?>) - Static method in class org.apache.commons.mail2.core.EmailUtils
 
isNotEmpty(String) - Static method in class org.apache.commons.mail2.core.EmailUtils
Checks if a String is not empty ("") and not null.
ISO_8859_1 - Static variable in class org.apache.commons.mail2.core.EmailConstants
Charset constant for iso-8859-1

K

KOI8_R - Static variable in class org.apache.commons.mail2.core.EmailConstants
Charset constant for koi8-r

M

MAIL_DEBUG - Static variable in class org.apache.commons.mail2.core.EmailConstants
The debug mode to be used.
MAIL_FROM - Static variable in class org.apache.commons.mail2.core.EmailConstants
The from email address.
MAIL_HOST - Static variable in class org.apache.commons.mail2.core.EmailConstants
The host name of the mail server.
MAIL_MIME_CHARSET - Static variable in class org.apache.commons.mail2.core.EmailConstants
Defines the default mime charset to use when none has been specified for the message.
MAIL_PORT - Static variable in class org.apache.commons.mail2.core.EmailConstants
The port number of the mail server.
MAIL_SMTP_AUTH - Static variable in class org.apache.commons.mail2.core.EmailConstants
If set to true, tries to authenticate the user using the AUTH command.
MAIL_SMTP_CONNECTIONTIMEOUT - Static variable in class org.apache.commons.mail2.core.EmailConstants
Socket connection timeout value in milliseconds.
MAIL_SMTP_FROM - Static variable in class org.apache.commons.mail2.core.EmailConstants
The email address to use for SMTP MAIL command.
MAIL_SMTP_PASSWORD - Static variable in class org.apache.commons.mail2.core.EmailConstants
The SMTP password.
MAIL_SMTP_SEND_PARTIAL - Static variable in class org.apache.commons.mail2.core.EmailConstants
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.
MAIL_SMTP_SOCKET_FACTORY_CLASS - Static variable in class org.apache.commons.mail2.core.EmailConstants
Specifies the SocketFactory class to create smtp sockets.
MAIL_SMTP_SOCKET_FACTORY_FALLBACK - Static variable in class org.apache.commons.mail2.core.EmailConstants
Whether to use Socket as a fallback if the initial connection fails or not.
MAIL_SMTP_SOCKET_FACTORY_PORT - Static variable in class org.apache.commons.mail2.core.EmailConstants
Specifies the port to connect to when using a socket factory.
MAIL_SMTP_SSL_CHECKSERVERIDENTITY - Static variable in class org.apache.commons.mail2.core.EmailConstants
If set to true, check the server identity as specified in RFC 2595.
MAIL_SMTP_SSL_ENABLE - Static variable in class org.apache.commons.mail2.core.EmailConstants
If set to true, use SSL to connect and use the SSL port by default.
MAIL_SMTP_SSL_SOCKET_FACTORY_CLASS - Static variable in class org.apache.commons.mail2.core.EmailConstants
Specifies the SSLSocketFactory class to use to create SMTP SSL sockets.
MAIL_SMTP_SSL_SOCKET_FACTORY_PORT - Static variable in class org.apache.commons.mail2.core.EmailConstants
Specifies the port to connect to when using the SMTP SSL socket factory.
MAIL_SMTP_TIMEOUT - Static variable in class org.apache.commons.mail2.core.EmailConstants
Socket I/O timeout value in milliseconds.
MAIL_SMTP_USER - Static variable in class org.apache.commons.mail2.core.EmailConstants
The SMTP user name.
MAIL_SMTPS_SEND_PARTIAL - Static variable in class org.apache.commons.mail2.core.EmailConstants
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.
MAIL_TRANSPORT_PROTOCOL - Static variable in class org.apache.commons.mail2.core.EmailConstants
Specifies the default transport protocol
MAIL_TRANSPORT_STARTTLS_ENABLE - Static variable in class org.apache.commons.mail2.core.EmailConstants
Indicates if the STARTTLS command shall be used to initiate a TLS-secured connection.
MAIL_TRANSPORT_STARTTLS_REQUIRED - Static variable in class org.apache.commons.mail2.core.EmailConstants
If true, requires the use of the STARTTLS command.

O

org.apache.commons.mail2.core - package org.apache.commons.mail2.core
Commons-Email aims to provide a API for sending email.

P

printStackTrace() - Method in exception org.apache.commons.mail2.core.EmailException
Prints the stack trace of this exception to the standard error stream.
printStackTrace(PrintStream) - Method in exception org.apache.commons.mail2.core.EmailException
Prints the stack trace of this exception to the specified stream.
printStackTrace(PrintWriter) - Method in exception org.apache.commons.mail2.core.EmailException
Prints the stack trace of this exception to the specified writer.

R

randomAlphabetic(int) - Static method in class org.apache.commons.mail2.core.EmailUtils
Creates a random string whose length is the number of characters specified.
replaceEndOfLineCharactersWithSpaces(String) - Static method in class org.apache.commons.mail2.core.EmailUtils
Replaces end-of-line characters with spaces.

S

SMTP - Static variable in class org.apache.commons.mail2.core.EmailConstants
The value to use SMTP as transport protocol
SOCKET_TIMEOUT - Static variable in class org.apache.commons.mail2.core.EmailConstants
Default socket timeout.

T

TEXT_HTML - Static variable in class org.apache.commons.mail2.core.EmailConstants
Defines the text/html content type
TEXT_PLAIN - Static variable in class org.apache.commons.mail2.core.EmailConstants
Defines the text/plain content type
TEXT_SUBTYPE_HTML - Static variable in class org.apache.commons.mail2.core.EmailConstants
Defines the html subtype
toLower(String) - Static method in class org.apache.commons.mail2.core.EmailUtils
 

U

US_ASCII - Static variable in class org.apache.commons.mail2.core.EmailConstants
Charset constant for us-ascii
UTF_8 - Static variable in class org.apache.commons.mail2.core.EmailConstants
Charset constant for utf-8
C E I K M O P R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form