A B C E G I M O R S T V 

A

addAttachment(String, byte[], String) - Method in class org.codemonkey.simplejavamail.Email
Adds an attachment to the email message and generates the necessary DataSource with the given byte data.
addAttachment(String, DataSource) - Method in class org.codemonkey.simplejavamail.Email
Overloaded method which sets an attachment on account of name and DataSource.
addEmbeddedImage(String, byte[], String) - Method in class org.codemonkey.simplejavamail.Email
Adds an embedded image (attachment type) to the email message and generates the necessary DataSource with the given byte data.
addEmbeddedImage(String, DataSource) - Method in class org.codemonkey.simplejavamail.Email
Overloaded method which sets an embedded image on account of name and DataSource.
addHeader(String, Object) - Method in class org.codemonkey.simplejavamail.Email
Adds a header to the headers list.
addRecipient(String, String, Message.RecipientType) - Method in class org.codemonkey.simplejavamail.Email
Adds a new Recipient to the list on account of name, address and recipient type (eg.

B

buildValidEmailPattern(EmailAddressValidationCriteria) - Static method in class org.codemonkey.simplejavamail.EmailValidationUtil
 

C

createMailSession(String, Integer, String, String) - Method in class org.codemonkey.simplejavamail.Mailer
Actually instantiates and configures the Session instance.

E

Email - Class in org.codemonkey.simplejavamail
Email message with all necessary data for an effective mailing action, including attachments etc.
Email() - Constructor for class org.codemonkey.simplejavamail.Email
Constructor, creates all internal lists.
EmailAddressValidationCriteria - Class in org.codemonkey.simplejavamail
Defines a set of restriction flags for email address validation.
EmailAddressValidationCriteria(boolean, boolean) - Constructor for class org.codemonkey.simplejavamail.EmailAddressValidationCriteria
 
EmailValidationUtil - Class in org.codemonkey.simplejavamail
Validates an email address according to RFC 2822, using regular expressions.

G

generateProperties() - Method in enum org.codemonkey.simplejavamail.TransportStrategy
Base implementation that simply returns an empty list of properties.
GENERIC_ERROR - Static variable in exception org.codemonkey.simplejavamail.MailException
 
getAddress() - Method in class org.codemonkey.simplejavamail.Recipient
Bean getter for Recipient.address;
getAttachments() - Method in class org.codemonkey.simplejavamail.Email
Bean getter for attachments as unmodifiable list.
getEmbeddedImages() - Method in class org.codemonkey.simplejavamail.Email
Bean getter for embeddedImages as unmodifiable list.
getFromRecipient() - Method in class org.codemonkey.simplejavamail.Email
Bean getter for fromRecipient.
getHeaders() - Method in class org.codemonkey.simplejavamail.Email
Bean getter for headers as unmodifiable map.
getName() - Method in class org.codemonkey.simplejavamail.Recipient
Bean getter for Recipient.name;
getRecipients() - Method in class org.codemonkey.simplejavamail.Email
Bean getter for recipients as unmodifiable list.
getReplyToRecipient() - Method in class org.codemonkey.simplejavamail.Email
Bean getter for replyToRecipient.
getSubject() - Method in class org.codemonkey.simplejavamail.Email
Bean getter for subject.
getText() - Method in class org.codemonkey.simplejavamail.Email
Bean getter for text.
getTextHTML() - Method in class org.codemonkey.simplejavamail.Email
Bean getter for textHTML.
getType() - Method in class org.codemonkey.simplejavamail.Recipient
Bean getter for Recipient.type;

I

INVALID_ENCODING - Static variable in exception org.codemonkey.simplejavamail.MailException
 
INVALID_RECIPIENT - Static variable in exception org.codemonkey.simplejavamail.MailException
 
INVALID_REPLYTO - Static variable in exception org.codemonkey.simplejavamail.MailException
 
INVALID_SENDER - Static variable in exception org.codemonkey.simplejavamail.MailException
 
isAllowDomainLiterals() - Method in class org.codemonkey.simplejavamail.EmailAddressValidationCriteria
 
isAllowQuotedIdentifiers() - Method in class org.codemonkey.simplejavamail.EmailAddressValidationCriteria
 
isValid(String) - Static method in class org.codemonkey.simplejavamail.EmailValidationUtil
Validates an e-mail with default validation flags that remains true to RFC 2822.
isValid(String, EmailAddressValidationCriteria) - Static method in class org.codemonkey.simplejavamail.EmailValidationUtil
Validates an e-mail with given validation flags.

M

Mailer - Class in org.codemonkey.simplejavamail
Mailing tool aimed for simplicity, for sending e-mails of any complexity.
Mailer(Session) - Constructor for class org.codemonkey.simplejavamail.Mailer
Default constructor, stores the given mail session for later use.
Mailer(String, Integer, String, String, TransportStrategy) - Constructor for class org.codemonkey.simplejavamail.Mailer
Overloaded constructor which produces a new Session on the fly.
Mailer(String, Integer, String, String) - Constructor for class org.codemonkey.simplejavamail.Mailer
Overloaded constructor which produces a new Session on the fly, using default vanilla SMTP transport protocol.
MailException - Exception in org.codemonkey.simplejavamail
This exception is used to communicate errors during the sending of email.
MailException(String) - Constructor for exception org.codemonkey.simplejavamail.MailException
 
MailException(String, MessagingException) - Constructor for exception org.codemonkey.simplejavamail.MailException
 
MailTest - Class in <Unnamed>
Demonstration program for the Simple Java Mail framework.
MailTest() - Constructor for class MailTest
 
main(String[]) - Static method in class MailTest
Just run as Java application, but remember to set the JVM arguments first.
MISSING_CONTENT - Static variable in exception org.codemonkey.simplejavamail.MailException
 
MISSING_HOST - Static variable in exception org.codemonkey.simplejavamail.MailException
 
MISSING_RECIPIENT - Static variable in exception org.codemonkey.simplejavamail.MailException
 
MISSING_SENDER - Static variable in exception org.codemonkey.simplejavamail.MailException
 
MISSING_SUBJECT - Static variable in exception org.codemonkey.simplejavamail.MailException
 
MISSING_USERNAME - Static variable in exception org.codemonkey.simplejavamail.MailException
 

O

org.codemonkey.simplejavamail - package org.codemonkey.simplejavamail
 

R

Recipient - Class in org.codemonkey.simplejavamail
An immutable recipient object, with a name, emailadres and recipient type (eg Message.RecipientType.BCC).
Recipient(String, String, Message.RecipientType) - Constructor for class org.codemonkey.simplejavamail.Recipient
Constructor; initializes this recipient object.

S

sendMail(Email) - Method in class org.codemonkey.simplejavamail.Mailer
Processes an Email instance into a completely configured Message.
setDebug(boolean) - Method in class org.codemonkey.simplejavamail.Mailer
Actually sets Session.setDebug(boolean) so that it generates debug information.
setEmailAddressValidationCriteria(EmailAddressValidationCriteria) - Method in class org.codemonkey.simplejavamail.Mailer
Overrides the default email address validation restrictions when validating and sending emails using the current Mailer instance.
setFromAddress(String, String) - Method in class org.codemonkey.simplejavamail.Email
Sets the sender address.
setReplyToAddress(String, String) - Method in class org.codemonkey.simplejavamail.Email
Sets the reply-to address (optional).
setSubject(String) - Method in class org.codemonkey.simplejavamail.Email
Bean setters for subject.
setText(String) - Method in class org.codemonkey.simplejavamail.Email
Bean setters for text.
setTextHTML(String) - Method in class org.codemonkey.simplejavamail.Email
Bean setters for textHTML.

T

TransportStrategy - Enum in org.codemonkey.simplejavamail
Defines the various types of transport protocols and implements respective properties so that a Session may be configured using a TransportStrategy implementation.

V

validate(Email) - Method in class org.codemonkey.simplejavamail.Mailer
Validates an Email instance.
valueOf(String) - Static method in enum org.codemonkey.simplejavamail.TransportStrategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.codemonkey.simplejavamail.TransportStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E G I M O R S T V 

Copyright © 2012. All Rights Reserved.