A B C D E F G H I J M N O P R S T U W X 

A

addAttachment(String, String, String, byte[]) - Method in class jodd.mail.ReceivedEmail
Adds received attachment.
addAttachmentMessage(ReceivedEmail) - Method in class jodd.mail.ReceivedEmail
Adds attached messages.
addBcc(MailAddress) - Method in class jodd.mail.CommonEmail
Appends BCC address.
addCc(MailAddress) - Method in class jodd.mail.CommonEmail
Appends CC address.
addHtml(String) - Method in class jodd.mail.Email
Adds HTML message.
addHtml(String, String) - Method in class jodd.mail.Email
 
addMessage(EmailMessage) - Method in class jodd.mail.CommonEmail
 
addMessage(String, String, String) - Method in class jodd.mail.CommonEmail
 
addMessage(String, String) - Method in class jodd.mail.CommonEmail
 
ADDR_SPEC_PATTERN - Static variable in class jodd.mail.EmailAddress
Java regex pattern for 2822 "addr-spec" token; Not necessarily useful, but available in case.
addReplyTo(MailAddress) - Method in class jodd.mail.CommonEmail
Appends REPLY-TO address.
addText(String) - Method in class jodd.mail.Email
Adds plain message text.
addText(String, String) - Method in class jodd.mail.Email
 
addTo(MailAddress) - Method in class jodd.mail.CommonEmail
Appends TO address.
ALLOW_DOMAIN_LITERALS - Static variable in class jodd.mail.EmailAddress
This constant changes the behavior of the domain parsing.
ALLOW_DOT_IN_ATEXT - Static variable in class jodd.mail.EmailAddress
This constant allows ".
ALLOW_PARENS_IN_LOCALPART - Static variable in class jodd.mail.EmailAddress
This constant allows ")" or "(" to appear in quoted versions of the localpart (they are never allowed in unquoted versions) The default (2822) behavior is to allow this, i.e. boolean true.
ALLOW_QUOTED_IDENTIFIERS - Static variable in class jodd.mail.EmailAddress
This constant states that quoted identifiers are allowed (using quotes and angle brackets around the raw address) are allowed, e.g.: "John Smith" <john.smith@somewhere.com> The RFC says this is a valid mailbox.
ALLOW_SQUARE_BRACKETS_IN_ATEXT - Static variable in class jodd.mail.EmailAddress
This constant allows "[" or "]" to appear in atext.
and() - Method in class jodd.mail.EmailFilter
Changes concatenation mode to AND.
and(EmailFilter...) - Method in class jodd.mail.EmailFilter
Defines AND group of filters.
and(SearchTerm) - Method in class jodd.mail.EmailFilter
 
attach(EmailAttachment) - Method in class jodd.mail.Email
Adds attachment.
attach(EmailAttachmentBuilder) - Method in class jodd.mail.Email
 
attachedMessages - Variable in class jodd.mail.ReceivedEmail
 
attachment() - Static method in class jodd.mail.EmailAttachment
Creates builder for convenient building of the email attachments.
attachments - Variable in class jodd.mail.Email
 
attachments - Variable in class jodd.mail.ReceivedEmail
 
ATTR_CHARSET - Static variable in class jodd.mail.EmailUtil
 
authenticator - Variable in class jodd.mail.ImapServer
 
authenticator - Variable in class jodd.mail.Pop3Server
 
authenticator - Variable in class jodd.mail.SmtpServer
 

B

bcc - Variable in class jodd.mail.CommonEmail
 
bcc(String) - Method in class jodd.mail.Email
Appends BCC address.
bcc(String, String) - Method in class jodd.mail.Email
Appends BCC address.
bcc(EmailAddress) - Method in class jodd.mail.Email
Appends BCC address.
bcc(InternetAddress) - Method in class jodd.mail.Email
Appends BCC address.
bcc(String[]) - Method in class jodd.mail.Email
Sets one or more BCC addresses.
bcc(EmailAddress[]) - Method in class jodd.mail.Email
Sets one or more BCC addresses.
bcc(InternetAddress[]) - Method in class jodd.mail.Email
Sets one or more BCC addresses.
bcc(String) - Method in class jodd.mail.EmailFilter
Defines filter for BCC field.
ByteArrayAttachment - Class in jodd.mail.att
Byte array email attachment.
ByteArrayAttachment(byte[], String, String, String) - Constructor for class jodd.mail.att.ByteArrayAttachment
 
bytes(byte[]) - Method in class jodd.mail.EmailAttachmentBuilder
 
bytes(InputStream) - Method in class jodd.mail.EmailAttachmentBuilder
 
bytes(File) - Method in class jodd.mail.EmailAttachmentBuilder
 

C

cc - Variable in class jodd.mail.CommonEmail
 
cc(String) - Method in class jodd.mail.Email
Appends CC address.
cc(String, String) - Method in class jodd.mail.Email
Appends CC address.
cc(EmailAddress) - Method in class jodd.mail.Email
Appends CC address.
cc(InternetAddress) - Method in class jodd.mail.Email
Appends CC address.
cc(String[]) - Method in class jodd.mail.Email
Sets one or more CC address.
cc(EmailAddress[]) - Method in class jodd.mail.Email
Sets one or more CC address.
cc(InternetAddress[]) - Method in class jodd.mail.Email
Sets one or more CC address.
cc(String) - Method in class jodd.mail.EmailFilter
Defines filter for CC field.
checkIfSourceSpecified() - Method in class jodd.mail.EmailAttachmentBuilder
Checks if no source content is specified.
close() - Method in class jodd.mail.ReceiveMailSession
Closes session.
close() - Method in class jodd.mail.SendMailSession
Closes session.
closeFolderIfOpened() - Method in class jodd.mail.ReceiveMailSession
Closes folder if opened and expunge deleted messages.
COMMENT_PATTERN - Static variable in class jodd.mail.EmailAddress
Java regex pattern for 2822 "comment" token; Not necessarily useful, but available in case.
CommonEmail - Class in jodd.mail
Common stuff for both Email and ReceivedEmail
CommonEmail() - Constructor for class jodd.mail.CommonEmail
 
concat(SearchTerm) - Method in class jodd.mail.EmailFilter
Concatenates last search term with new one.
content - Variable in class jodd.mail.att.ByteArrayAttachment
 
contentId - Variable in class jodd.mail.EmailAttachment
 
contentType - Variable in class jodd.mail.att.ByteArrayAttachment
 
contentType - Variable in class jodd.mail.att.InputStreamAttachment
 
create() - Static method in class jodd.mail.Email
Static constructor for fluent interface.
create() - Method in class jodd.mail.EmailAttachmentBuilder
createAttachmentBodyPart(EmailAttachment) - Method in class jodd.mail.SendMailSession
Creates attachment body part.
createByteArrayAttachment() - Method in class jodd.mail.EmailAttachmentBuilder
createFileAttachment() - Method in class jodd.mail.EmailAttachmentBuilder
createFrom(Address[]) - Static method in class jodd.mail.MailAddress
Converts array of Address to MailAddress.
createFrom(String[]) - Static method in class jodd.mail.MailAddress
Converts array of String to MailAddress.
createFrom(EmailAddress[]) - Static method in class jodd.mail.MailAddress
Converts array of EmailAddress to MailAddress.
createInputStreamAttachment() - Method in class jodd.mail.EmailAttachmentBuilder
createMessage(Email, Session) - Method in class jodd.mail.SendMailSession
Creates new JavaX message from email.
createSession() - Method in class jodd.mail.ImapServer
Creates new receiving mail session.
createSession() - Method in class jodd.mail.Pop3Server
Creates new receiving mail session.
createSession() - Method in interface jodd.mail.ReceiveMailSessionProvider
Creates new receiving mail session.
createSession() - Method in interface jodd.mail.SendMailSessionProvider
Creates new sending mail session.
createSession() - Method in class jodd.mail.SmtpServer
Creates new sending mail session.
createSessionProperties() - Method in class jodd.mail.ImapServer
Prepares mail session properties.
createSessionProperties() - Method in class jodd.mail.ImapSslServer
 
createSessionProperties() - Method in class jodd.mail.Pop3Server
Prepares mail session properties.
createSessionProperties() - Method in class jodd.mail.Pop3SslServer
 
createSessionProperties() - Method in class jodd.mail.SmtpServer
Prepares mail session properties.
createSessionProperties() - Method in class jodd.mail.SmtpSslServer
 

D

dataSource - Variable in class jodd.mail.att.DataSourceAttachment
 
DataSourceAttachment - Class in jodd.mail.att
Generic DataSource adapter for attachments.
DataSourceAttachment(DataSource, String, String) - Constructor for class jodd.mail.att.DataSourceAttachment
 
DEFAULT_FOLDER - Static variable in class jodd.mail.ReceiveMailSession
 
DEFAULT_IMAP_PORT - Static variable in class jodd.mail.ImapServer
 
DEFAULT_POP3_PORT - Static variable in class jodd.mail.Pop3Server
 
DEFAULT_SMTP_PORT - Static variable in class jodd.mail.SmtpServer
 
DEFAULT_SSL_PORT - Static variable in class jodd.mail.ImapSslServer
 
DEFAULT_SSL_PORT - Static variable in class jodd.mail.Pop3SslServer
 
DEFAULT_SSL_PORT - Static variable in class jodd.mail.SmtpSslServer
 
defineJavaMailSystemProperties() - Method in class jodd.mail.MailSystem
Defines Java Mail system properties.
defineSystemProperties() - Method in class jodd.mail.MailSystem
Defines system properties.

E

Email - Class in jodd.mail
E-mail holds all parts of an email and handle attachments.
Email() - Constructor for class jodd.mail.Email
 
email - Variable in class jodd.mail.EmailAddress
 
EmailAddress - Class in jodd.mail
EmailAddress - a utility class to parse, clean up, and extract email addresses per RFC2822 syntax.
EmailAddress(String) - Constructor for class jodd.mail.EmailAddress
Creates new email address.
EmailAttachment - Class in jodd.mail
Email attachment.
EmailAttachment(String, String) - Constructor for class jodd.mail.EmailAttachment
Creates new attachment with given name and content id for inline attachments.
EmailAttachmentBuilder - Class in jodd.mail
Helper class for convenient attachment creation.
EmailAttachmentBuilder() - Constructor for class jodd.mail.EmailAttachmentBuilder
 
EmailFilter - Class in jodd.mail
EmailFilter helps in building boolean queries of search terms.
EmailFilter() - Constructor for class jodd.mail.EmailFilter
 
EmailMessage - Class in jodd.mail
Represents e-mail message: string with mime type and encoding.
EmailMessage(String, String, String) - Constructor for class jodd.mail.EmailMessage
Defines email content.
EmailMessage(String, String) - Constructor for class jodd.mail.EmailMessage
Defines UTF-8 email content.
EmailUtil - Class in jodd.mail
Email utilities.
EmailUtil() - Constructor for class jodd.mail.EmailUtil
 
embed(EmailAttachment) - Method in class jodd.mail.Email
Embed attachment to last message.
embed(EmailAttachmentBuilder) - Method in class jodd.mail.Email
 
EMPTY_ARRAY - Static variable in class jodd.mail.MailAddress
 
EXTRACT_CFWS_PERSONAL_NAMES - Static variable in class jodd.mail.EmailAddress
This controls the behavior of getInternetAddress and extractHeaderAddresses.
extractEncoding(String) - Static method in class jodd.mail.EmailUtil
Parses content type for encoding.
extractMimeType(String) - Static method in class jodd.mail.EmailUtil
Extracts mime type from parts content type.

F

file - Variable in class jodd.mail.att.FileAttachment
 
file(File) - Method in class jodd.mail.EmailAttachmentBuilder
 
file(String) - Method in class jodd.mail.EmailAttachmentBuilder
 
FileAttachment - Class in jodd.mail.att
FileAttachment(File, String, String) - Constructor for class jodd.mail.att.FileAttachment
 
filter() - Static method in class jodd.mail.EmailFilter
Creates new Email filter.
filterEmbeddedAttachments(List<EmailAttachment>, EmailMessage) - Method in class jodd.mail.SendMailSession
Filters out the list of embedded attachments for given message.
flag(Flags.Flag, boolean) - Method in class jodd.mail.EmailFilter
Defines filter for single flag.
flags(Flags, boolean) - Method in class jodd.mail.EmailFilter
Defines filter for many flags at once.
flags - Variable in class jodd.mail.ReceivedEmail
 
folder - Variable in class jodd.mail.ReceiveMailSession
 
from - Variable in class jodd.mail.CommonEmail
 
from(String) - Method in class jodd.mail.Email
Sets the FROM address.
from(String, String) - Method in class jodd.mail.Email
Sets the FROM address by providing personal name and address.
from(EmailAddress) - Method in class jodd.mail.Email
Sets the FROM address from EmailAddress.
from(InternetAddress) - Method in class jodd.mail.Email
Sets the FROM address from InternetAddress.
from(String) - Method in class jodd.mail.EmailFilter
Defines filter for FROM field.

G

getAllFolders() - Method in class jodd.mail.ReceiveMailSession
Returns list of all folders.
getAllHeaders() - Method in class jodd.mail.CommonEmail
Returns all headers as a HashMap.
getAllMessages() - Method in class jodd.mail.CommonEmail
Returns all messages.
getAttachedMessages() - Method in class jodd.mail.ReceivedEmail
Returns the list of attached messages.
getAttachments() - Method in class jodd.mail.Email
Returns an array of attachments or null if no attachment enclosed with this email.
getAttachments() - Method in class jodd.mail.ReceivedEmail
Returns the list of all attachments.
getAuthenticator() - Method in class jodd.mail.ImapServer
Returns authenticator.
getAuthenticator() - Method in class jodd.mail.Pop3Server
Returns authenticator.
getAuthenticator() - Method in class jodd.mail.SmtpServer
Returns authenticator.
getBcc() - Method in class jodd.mail.CommonEmail
Returns BCC addresses.
getCc() - Method in class jodd.mail.CommonEmail
Returns CC addresses.
getContent() - Method in class jodd.mail.EmailMessage
Returns message content.
getContentId() - Method in class jodd.mail.EmailAttachment
Returns content id for inline attachments.
getContentType() - Method in class jodd.mail.att.ByteArrayAttachment
Returns content type.
getContentType() - Method in class jodd.mail.att.InputStreamAttachment
Returns content type.
getDataSource() - Method in class jodd.mail.att.ByteArrayAttachment
Returns ByteArrayDataSource.
getDataSource() - Method in class jodd.mail.att.DataSourceAttachment
Returns wrapped data source.
getDataSource() - Method in class jodd.mail.att.FileAttachment
 
getDataSource() - Method in class jodd.mail.att.InputStreamAttachment
Returns ByteArrayDataSource.
getDataSource() - Method in class jodd.mail.EmailAttachment
Returns DataSource implementation, depending of attachment source.
getDeletedMessageCount() - Method in class jodd.mail.ReceiveMailSession
Returns the number of deleted messages.
getDomain() - Method in class jodd.mail.EmailAddress
Returns domain part of the email address.
getEmail() - Method in class jodd.mail.MailAddress
Returns email address.
getEncodedName() - Method in class jodd.mail.EmailAttachment
Returns encoded attachment name.
getEncoding() - Method in class jodd.mail.EmailMessage
Returns message encoding.
getFile() - Method in class jodd.mail.att.FileAttachment
Returns attached file.
getFlags() - Method in class jodd.mail.ReceivedEmail
 
getFrom() - Method in class jodd.mail.CommonEmail
Returns FROM address.
getHeader(String) - Method in class jodd.mail.CommonEmail
 
getHost() - Method in class jodd.mail.ImapServer
Returns POP host address.
getHost() - Method in class jodd.mail.Pop3Server
Returns POP host address.
getHost() - Method in class jodd.mail.SmtpServer
Returns SMTP host address.
getInternetAddress() - Method in class jodd.mail.EmailAddress
Given a 2822-valid single address string, returns an InternetAddress object holding that address, otherwise returns null.
getLocalPart() - Method in class jodd.mail.EmailAddress
Returns local part of the email address.
getMessageCount() - Method in class jodd.mail.ReceiveMailSession
Returns number of messages.
getMessageNumber() - Method in class jodd.mail.ReceivedEmail
Returns message number.
getMimeType() - Method in class jodd.mail.EmailMessage
Returns message mime type.
getName() - Method in class jodd.mail.EmailAttachment
Returns attachment name.
getNewMessageCount() - Method in class jodd.mail.ReceiveMailSession
Returns the number of new messages.
getPasswordAuthentication() - Method in class jodd.mail.SimpleAuthenticator
 
getPersonalName() - Method in class jodd.mail.EmailAddress
Returns personal name.
getPersonalName() - Method in class jodd.mail.MailAddress
Returns personal name, may be null.
getPort() - Method in class jodd.mail.ImapServer
Returns current port.
getPort() - Method in class jodd.mail.Pop3Server
Returns current port.
getPort() - Method in class jodd.mail.SmtpServer
Returns current port.
getPriority() - Method in class jodd.mail.CommonEmail
Returns emails priority (1 - 5) or -1 if priority not available.
getReceiveDate() - Method in class jodd.mail.ReceivedEmail
Returns emails received date.
getReplyTo() - Method in class jodd.mail.CommonEmail
Returns REPLY-TO addresses.
getReturnPathAddress() - Method in class jodd.mail.EmailAddress
Pull out the cleaned-up return path address.
getReturnPathBracketContents() - Method in class jodd.mail.EmailAddress
WARNING: You may want to use getReturnPathAddress() instead if you're looking for a clean version of the return path without CFWS, etc.
getSearchTerm() - Method in class jodd.mail.EmailFilter
Returns search term.
getSentDate() - Method in class jodd.mail.CommonEmail
Returns e-mails sent date.
getSize() - Method in class jodd.mail.EmailAttachment
Returns size of received attachment,
getStore(Session) - Method in class jodd.mail.ImapServer
Returns email store.
getStore(Session) - Method in class jodd.mail.ImapSslServer
 
getStore(Session) - Method in class jodd.mail.Pop3Server
Returns email store.
getStore(Session) - Method in class jodd.mail.Pop3SslServer
 
getSubject() - Method in class jodd.mail.CommonEmail
Returns message subject.
getTo() - Method in class jodd.mail.CommonEmail
Returns TO addresses.
getTransport(Session) - Method in class jodd.mail.SmtpServer
Returns mail transport.
getUnreadMessageCount() - Method in class jodd.mail.ReceiveMailSession
Returns the number of unread messages.

H

header(String, String) - Method in class jodd.mail.Email
 
headers - Variable in class jodd.mail.CommonEmail
 
host - Variable in class jodd.mail.ImapServer
 
host - Variable in class jodd.mail.Pop3Server
 
host - Variable in class jodd.mail.SmtpServer
 

I

ImapServer - Class in jodd.mail
IMAP Server.
ImapServer(String) - Constructor for class jodd.mail.ImapServer
POP3 server defined with its host and default port.
ImapServer(String, int) - Constructor for class jodd.mail.ImapServer
POP3 server defined with its host and port.
ImapServer(String, Authenticator) - Constructor for class jodd.mail.ImapServer
 
ImapServer(String, int, String, String) - Constructor for class jodd.mail.ImapServer
 
ImapServer(String, int, Authenticator) - Constructor for class jodd.mail.ImapServer
SMTP server defined with its host and authentication.
ImapSslServer - Class in jodd.mail
IMAP SSL Server.
ImapSslServer(String, String, String) - Constructor for class jodd.mail.ImapSslServer
 
ImapSslServer(String, int, String, String) - Constructor for class jodd.mail.ImapSslServer
 
init() - Static method in class jodd.mail.JoddMail
 
initialized - Variable in class jodd.mail.MailSystem
 
inputStream - Variable in class jodd.mail.att.InputStreamAttachment
 
InputStreamAttachment - Class in jodd.mail.att
InputStream email attachment.
InputStreamAttachment(InputStream, String, String, String) - Constructor for class jodd.mail.att.InputStreamAttachment
 
isAnswered() - Method in class jodd.mail.ReceivedEmail
Returns true if message is answered.
isDeleted() - Method in class jodd.mail.ReceivedEmail
Returns true if message is deleted.
isDraf() - Method in class jodd.mail.ReceivedEmail
Returns true if message is draft.
isEmbeddedInto(EmailMessage) - Method in class jodd.mail.EmailAttachment
Returns true if attachment is embedded into provided message.
isFlagged() - Method in class jodd.mail.ReceivedEmail
Returns true is message is flagged.
isInline() - Method in class jodd.mail.EmailAttachment
Returns true if it is inline attachment.
isRecent() - Method in class jodd.mail.ReceivedEmail
Returns true if message is recent.
isSeen() - Method in class jodd.mail.ReceivedEmail
Returns true if message is seen.
isValid() - Method in class jodd.mail.EmailAddress
Returns trueif email is valid.
isValidReturnPath() - Method in class jodd.mail.EmailAddress
Returns true if the email represents a valid return path.

J

jodd.mail - package jodd.mail
Simple e-mail sending.
jodd.mail.att - package jodd.mail.att
Various attachments implementation.
JoddMail - Class in jodd.mail
Jodd MAIL module.
JoddMail() - Constructor for class jodd.mail.JoddMail
 

M

MAIL_HOST - Static variable in class jodd.mail.SmtpServer
 
MAIL_IMAP_HOST - Static variable in class jodd.mail.ImapServer
 
MAIL_IMAP_PORT - Static variable in class jodd.mail.ImapServer
 
MAIL_IMAP_SOCKET_FACTORY_CLASS - Static variable in class jodd.mail.ImapSslServer
 
MAIL_IMAP_SOCKET_FACTORY_FALLBACK - Static variable in class jodd.mail.ImapSslServer
 
MAIL_IMAP_SOCKET_FACTORY_PORT - Static variable in class jodd.mail.ImapSslServer
 
MAIL_POP3_AUTH - Static variable in class jodd.mail.Pop3Server
 
MAIL_POP3_HOST - Static variable in class jodd.mail.Pop3Server
 
MAIL_POP3_PORT - Static variable in class jodd.mail.Pop3Server
 
MAIL_POP3_SOCKET_FACTORY_CLASS - Static variable in class jodd.mail.Pop3SslServer
 
MAIL_POP3_SOCKET_FACTORY_FALLBACK - Static variable in class jodd.mail.Pop3SslServer
 
MAIL_POP3_SOCKET_FACTORY_PORT - Static variable in class jodd.mail.Pop3SslServer
 
MAIL_SMTP_AUTH - Static variable in class jodd.mail.SmtpServer
 
MAIL_SMTP_CONNECTIONTIMEOUT - Static variable in class jodd.mail.SmtpServer
 
MAIL_SMTP_HOST - Static variable in class jodd.mail.SmtpServer
 
MAIL_SMTP_PORT - Static variable in class jodd.mail.SmtpServer
 
MAIL_SMTP_SOCKET_FACTORY_CLASS - Static variable in class jodd.mail.SmtpSslServer
 
MAIL_SMTP_SOCKET_FACTORY_FALLBACK - Static variable in class jodd.mail.SmtpSslServer
 
MAIL_SMTP_SOCKET_FACTORY_PORT - Static variable in class jodd.mail.SmtpSslServer
 
MAIL_SMTP_STARTTLS_ENABLE - Static variable in class jodd.mail.SmtpSslServer
 
MAIL_SMTP_TIMEOUT - Static variable in class jodd.mail.SmtpServer
 
MAIL_SMTP_WRITETIMEOUT - Static variable in class jodd.mail.SmtpServer
 
MAIL_TRANSPORT_PROTOCOL - Static variable in class jodd.mail.SmtpServer
 
MailAddress - Class in jodd.mail
Storage for personal name and email address.
MailAddress(String, String) - Constructor for class jodd.mail.MailAddress
Creates new address by specifying email and personal name.
MailAddress(String) - Constructor for class jodd.mail.MailAddress
Creates new address by specifying one of the following: "foo@bar.com" - only email address.
MailAddress(EmailAddress) - Constructor for class jodd.mail.MailAddress
Creates new email address from EmailAddress.
MailAddress(InternetAddress) - Constructor for class jodd.mail.MailAddress
Creates new email address from InternetAddress.
MailAddress(Address) - Constructor for class jodd.mail.MailAddress
Creates new email address from Address.
MAILBOX_PATTERN - Static variable in class jodd.mail.EmailAddress
Java regex pattern for 2822 "mailbox" token; Not necessarily useful, but available in case.
MailException - Exception in jodd.mail
Mailing exception.
MailException(String) - Constructor for exception jodd.mail.MailException
 
MailException(String, Throwable) - Constructor for exception jodd.mail.MailException
 
MailException(Throwable) - Constructor for exception jodd.mail.MailException
 
mailSession - Variable in class jodd.mail.SendMailSession
 
mailSystem - Static variable in class jodd.mail.JoddMail
Mail system properties for fine-tuning the java Mail behavior.
MailSystem - Class in jodd.mail
Defines mail system behavior.
MailSystem() - Constructor for class jodd.mail.MailSystem
 
mailTransport - Variable in class jodd.mail.SendMailSession
 
message(String, String, String) - Method in class jodd.mail.Email
 
message(String, String) - Method in class jodd.mail.Email
 
messageId(String) - Method in class jodd.mail.EmailFilter
Defines filter for message id.
messageId(int) - Method in class jodd.mail.EmailFilter
Defines filter for message id.
messageNumber - Variable in class jodd.mail.ReceivedEmail
 
messages - Variable in class jodd.mail.CommonEmail
 

N

name - Variable in class jodd.mail.EmailAttachment
 
not() - Method in class jodd.mail.EmailFilter
Marks next condition to be NOT.
not(EmailFilter) - Method in class jodd.mail.EmailFilter
Appends single filter as NOT.

O

open() - Method in class jodd.mail.ReceiveMailSession
Opens session.
open() - Method in class jodd.mail.SendMailSession
Opens mail session.
or() - Method in class jodd.mail.EmailFilter
Changes concatenation mode to OR.
or(EmailFilter...) - Method in class jodd.mail.EmailFilter
Defines OR group of filters.
or(SearchTerm) - Method in class jodd.mail.EmailFilter
 

P

parseEML(File) - Static method in class jodd.mail.EmailUtil
Reads EML from a file and parses it into ReceivedEmail.
parseEML(String) - Static method in class jodd.mail.EmailUtil
Parse EML from content into ReceivedEmail.
parseMessage(Message) - Method in class jodd.mail.ReceivedEmail
Parse java Message and extracts all data for the received message.
password - Variable in class jodd.mail.ImapSslServer
 
password - Variable in class jodd.mail.Pop3SslServer
 
password - Variable in class jodd.mail.SimpleAuthenticator
 
Pop3Server - Class in jodd.mail
Represents simple plain POP server for sending emails.
Pop3Server(String) - Constructor for class jodd.mail.Pop3Server
POP3 server defined with its host and default port.
Pop3Server(String, int) - Constructor for class jodd.mail.Pop3Server
POP3 server defined with its host and port.
Pop3Server(String, Authenticator) - Constructor for class jodd.mail.Pop3Server
 
Pop3Server(String, int, String, String) - Constructor for class jodd.mail.Pop3Server
 
Pop3Server(String, int, Authenticator) - Constructor for class jodd.mail.Pop3Server
SMTP server defined with its host and authentication.
Pop3SslServer - Class in jodd.mail
POP3 SSL server.
Pop3SslServer(String, String, String) - Constructor for class jodd.mail.Pop3SslServer
 
Pop3SslServer(String, int, String, String) - Constructor for class jodd.mail.Pop3SslServer
 
port - Variable in class jodd.mail.ImapServer
 
port - Variable in class jodd.mail.Pop3Server
 
port - Variable in class jodd.mail.SmtpServer
 
priority(int) - Method in class jodd.mail.Email
 
PRIORITY_HIGH - Static variable in class jodd.mail.CommonEmail
 
PRIORITY_HIGHEST - Static variable in class jodd.mail.CommonEmail
 
PRIORITY_LOW - Static variable in class jodd.mail.CommonEmail
 
PRIORITY_LOWEST - Static variable in class jodd.mail.CommonEmail
 
PRIORITY_NORMAL - Static variable in class jodd.mail.CommonEmail
 
processPart(ReceivedEmail, Part) - Method in class jodd.mail.ReceivedEmail
Process single part of received message.
PROTOCOL_IMAP - Static variable in class jodd.mail.ImapServer
 
PROTOCOL_POP3 - Static variable in class jodd.mail.Pop3Server
 
PROTOCOL_SMTP - Static variable in class jodd.mail.SmtpServer
 

R

receive(EmailFilter, Flags) - Method in class jodd.mail.ReceiveMailSession
Receives all emails that matches given filter and set given flags.
ReceivedEmail - Class in jodd.mail
Received email.
ReceivedEmail() - Constructor for class jodd.mail.ReceivedEmail
 
ReceivedEmail(Message) - Constructor for class jodd.mail.ReceivedEmail
 
receiveEmail() - Method in class jodd.mail.ReceiveMailSession
Receives all emails.
receiveEmail(EmailFilter) - Method in class jodd.mail.ReceiveMailSession
Receives all emails that matches given filter.
receiveEmailAndDelete() - Method in class jodd.mail.ReceiveMailSession
Receives all emails and mark all messages as 'seen' and 'deleted'.
receiveEmailAndDelete(EmailFilter) - Method in class jodd.mail.ReceiveMailSession
Receives all emails that matches given filter and mark all messages as 'seen' and 'deleted'.
receiveEmailAndMarkSeen() - Method in class jodd.mail.ReceiveMailSession
Receives all emails and mark all messages as 'seen' (ie 'read').
receiveEmailAndMarkSeen(EmailFilter) - Method in class jodd.mail.ReceiveMailSession
Receives all emails that matches given filter and mark them as 'seen' (ie 'read').
ReceiveMailSession - Class in jodd.mail
Encapsulates email receiving session.
ReceiveMailSession(Session, Store) - Constructor for class jodd.mail.ReceiveMailSession
Creates new mail session.
ReceiveMailSessionProvider - Interface in jodd.mail
recvDate - Variable in class jodd.mail.ReceivedEmail
 
replyTo - Variable in class jodd.mail.CommonEmail
 
replyTo(String) - Method in class jodd.mail.Email
Appends REPLY-TO address.
replyTo(String, String) - Method in class jodd.mail.Email
Appends REPLY-TO address.
replyTo(EmailAddress) - Method in class jodd.mail.Email
Appends REPLY-TO address.
replyTo(InternetAddress) - Method in class jodd.mail.Email
Appends REPLY-TO address.
replyTo(String[]) - Method in class jodd.mail.Email
Sets one or more REPLY-TO address.
replyTo(EmailAddress[]) - Method in class jodd.mail.Email
Sets one or more REPLY-TO address.
replyTo(InternetAddress[]) - Method in class jodd.mail.Email
Sets one or more REPLY-TO address.
resolveContentId() - Method in class jodd.mail.EmailAttachmentBuilder
Resolves content id from all data.
resolveContentType() - Method in class jodd.mail.EmailAttachmentBuilder
Resolves content type from all data.

S

searchTerm - Variable in class jodd.mail.EmailFilter
 
sendMail(Email) - Method in class jodd.mail.SendMailSession
Prepares message and sends it.
SendMailSession - Class in jodd.mail
Encapsulates email sending session.
SendMailSession(Session, Transport) - Constructor for class jodd.mail.SendMailSession
Creates new mail session.
SendMailSessionProvider - Interface in jodd.mail
sentDate - Variable in class jodd.mail.CommonEmail
 
sentOn(Date) - Method in class jodd.mail.Email
 
session - Variable in class jodd.mail.ReceiveMailSession
 
sessionProperties - Variable in class jodd.mail.ImapServer
 
sessionProperties - Variable in class jodd.mail.Pop3Server
 
sessionProperties - Variable in class jodd.mail.SmtpServer
 
setBcc(MailAddress...) - Method in class jodd.mail.CommonEmail
Sets BCC addresses.
setCc(MailAddress...) - Method in class jodd.mail.CommonEmail
Sets CC addresses.
setContentType(String) - Method in class jodd.mail.EmailAttachmentBuilder
 
setCurrentSentDate() - Method in class jodd.mail.Email
Sets current date as e-mails sent date.
setEmbeddedMessage(EmailMessage) - Method in class jodd.mail.EmailAttachment
Sets target message for embedded attachments.
setFlags(Flags) - Method in class jodd.mail.ReceivedEmail
 
setFrom(MailAddress) - Method in class jodd.mail.CommonEmail
Sets the FROM address.
setHeader(String, String) - Method in class jodd.mail.CommonEmail
Sets a new header value.
setInline(boolean) - Method in class jodd.mail.EmailAttachmentBuilder
 
setInline(String) - Method in class jodd.mail.EmailAttachmentBuilder
 
setMessageNumber(int) - Method in class jodd.mail.ReceivedEmail
Sets message number.
setName(String) - Method in class jodd.mail.EmailAttachmentBuilder
 
setPriority(int) - Method in class jodd.mail.CommonEmail
Sets email priority.
setReceiveDate(Date) - Method in class jodd.mail.ReceivedEmail
Sets e-mails receive date.
setReplyTo(MailAddress...) - Method in class jodd.mail.CommonEmail
Sets REPLY-TO addresses.
setSentDate(Date) - Method in class jodd.mail.CommonEmail
Sets e-mails sent date.
setSize(int) - Method in class jodd.mail.EmailAttachment
 
setSubject(String) - Method in class jodd.mail.CommonEmail
Sets message subject.
setTimeout(int) - Method in class jodd.mail.SmtpServer
Defines timeout value in milliseconds for all mail-related operations.
setTo(MailAddress...) - Method in class jodd.mail.CommonEmail
Sets TO addresses.
SimpleAuthenticator - Class in jodd.mail
Performs simple authentication when the server requires it.
SimpleAuthenticator(String, String) - Constructor for class jodd.mail.SimpleAuthenticator
 
size - Variable in class jodd.mail.EmailAttachment
 
SmtpServer - Class in jodd.mail
Represents simple plain SMTP server for sending emails.
SmtpServer(String) - Constructor for class jodd.mail.SmtpServer
SMTP server defined with its host and default port.
SmtpServer(String, int) - Constructor for class jodd.mail.SmtpServer
SMTP server defined with its host and port.
SmtpServer(String, Authenticator) - Constructor for class jodd.mail.SmtpServer
 
SmtpServer(String, int, String, String) - Constructor for class jodd.mail.SmtpServer
 
SmtpServer(String, String, String) - Constructor for class jodd.mail.SmtpServer
 
SmtpServer(String, int, Authenticator) - Constructor for class jodd.mail.SmtpServer
SMTP server defined with its host and authentication.
SmtpSslServer - Class in jodd.mail
Secure SMTP server (STARTTLS) for sending emails.
SmtpSslServer(String, Authenticator) - Constructor for class jodd.mail.SmtpSslServer
 
SmtpSslServer(String, String, String) - Constructor for class jodd.mail.SmtpSslServer
 
SmtpSslServer(String, int, Authenticator) - Constructor for class jodd.mail.SmtpSslServer
 
SmtpSslServer(String, int, String, String) - Constructor for class jodd.mail.SmtpSslServer
 
store - Variable in class jodd.mail.ReceiveMailSession
 
stream(InputStream) - Method in class jodd.mail.EmailAttachmentBuilder
 
stream(File) - Method in class jodd.mail.EmailAttachmentBuilder
 
subject - Variable in class jodd.mail.CommonEmail
 
subject(String) - Method in class jodd.mail.Email
 
subject(String) - Method in class jodd.mail.EmailFilter
Defines filter for SUBJECT field.

T

targetMessage - Variable in class jodd.mail.EmailAttachment
 
timeout - Variable in class jodd.mail.SmtpServer
 
to - Variable in class jodd.mail.CommonEmail
 
to(String) - Method in class jodd.mail.Email
Appends TO address.
to(String, String) - Method in class jodd.mail.Email
Appends TO address by personal name and email address.
to(EmailAddress) - Method in class jodd.mail.Email
Appends TO address from EmailAddress.
to(InternetAddress) - Method in class jodd.mail.Email
Appends TO address from InternetAddress.
to(String[]) - Method in class jodd.mail.Email
Sets one or more TO address.
to(EmailAddress[]) - Method in class jodd.mail.Email
Sets one or more TO addresses.
to(InternetAddress[]) - Method in class jodd.mail.Email
Sets one or more TO addresses.
to(String) - Method in class jodd.mail.EmailFilter
Defines filter for TO field.
toByteArray() - Method in class jodd.mail.EmailAttachment
Returns byte content of the attachment.
toEmailAddress() - Method in class jodd.mail.MailAddress
Creates new EmailAddress.
toInternetAddress() - Method in class jodd.mail.MailAddress
Creates new InternetAddress from current data.
toString() - Method in class jodd.mail.Email
 
toString() - Method in class jodd.mail.MailAddress
Returns string representation of this email.

U

useDefaultFolder() - Method in class jodd.mail.ReceiveMailSession
Opens default folder: INBOX.
useFolder(String) - Method in class jodd.mail.ReceiveMailSession
Opens new folder and closes previously opened folder.
username - Variable in class jodd.mail.ImapSslServer
 
username - Variable in class jodd.mail.Pop3SslServer
 
username - Variable in class jodd.mail.SimpleAuthenticator
 

W

writeToFile(File) - Method in class jodd.mail.EmailAttachment
Saves attachment to a file.
writeToStream(OutputStream) - Method in class jodd.mail.EmailAttachment
Saves attachment to output stream.

X

X_PRIORITY - Static variable in class jodd.mail.CommonEmail
 
A B C D E F G H I J M N O P R S T U W X 

Copyright © 2003-2013 Jodd Team