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

A

addAttachment(String, String, String, boolean, byte[]) - Method in class jodd.mail.ReceivedEmail
Adds received attachment.
addAttachmentMessage(ReceivedEmail) - Method in class jodd.mail.ReceivedEmail
Adds attached messages.
addBcc(EmailAddress) - Method in class jodd.mail.CommonEmail
Appends BCC address.
addCc(EmailAddress) - 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
 
addReplyTo(EmailAddress) - 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(EmailAddress) - Method in class jodd.mail.CommonEmail
Appends TO address.
allowDomainLiterals(boolean) - Method in class jodd.mail.RFC2822AddressParser
Changes the behavior of the domain parsing.
allowDotInAtext(boolean) - Method in class jodd.mail.RFC2822AddressParser
Allows ".
allowParentheseInLocalpart(boolean) - Method in class jodd.mail.RFC2822AddressParser
Allows ")" or "(" to appear in quoted versions of the localpart (they are never allowed in unquoted versions).
allowQuotedIdentifiers(boolean) - Method in class jodd.mail.RFC2822AddressParser
Defines if quoted identifiers are allowed.
allowSquareBracketsInAtext(boolean) - Method in class jodd.mail.RFC2822AddressParser
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 an 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
 
authenticateWith(String, String) - Method in class jodd.mail.SmtpServer
 
authenticateWith(Authenticator) - Method in class jodd.mail.SmtpServer
 
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(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(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, boolean) - 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(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(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.
CommonEmail - Class in jodd.mail
Common stuff for both Email and ReceivedEmail
CommonEmail() - Constructor for class jodd.mail.CommonEmail
 
compose(Email) - Method in class jodd.mail.EMLComposer
Creates EML string from given Email.
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
create() - Static method in class jodd.mail.EMLComposer
 
create() - Static method in class jodd.mail.EMLParser
 
create(String) - Static method in class jodd.mail.SmtpServer
 
create(String, int) - Static method in class jodd.mail.SmtpServer
 
create(String) - Static method in class jodd.mail.SmtpSslServer
 
create(String, int) - Static method in class jodd.mail.SmtpSslServer
 
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.EmailAddress
Converts array of Address to EmailAddress.
createFrom(String...) - Static method in class jodd.mail.EmailAddress
Converts array of String to EmailAddress.
createInputStreamAttachment() - Method in class jodd.mail.EmailAttachmentBuilder
createMessage(Email, Session) - Method in class jodd.mail.SendMailSession
Creates new JavaX message from email.
createSession(Properties) - Method in class jodd.mail.EMLComposer
Creates new session with or without custom properties.
createSession(Properties) - Method in class jodd.mail.EMLParser
Creates new session with or without custom properties.
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
Creates 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, boolean) - Constructor for class jodd.mail.att.DataSourceAttachment
 
debug - Variable in class jodd.mail.SmtpServer
 
debug(boolean) - Method in class jodd.mail.SmtpServer
Enables debug mode.
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
 
defaultSession() - Method in class jodd.mail.EMLComposer
Uses default session.
defaultSession() - Method in class jodd.mail.EMLParser
Uses default session.
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
 
EmailAddress - Class in jodd.mail
Storage for personal name and email address.
EmailAddress(String, String) - Constructor for class jodd.mail.EmailAddress
Creates new address by specifying email and personal name.
EmailAddress(String) - Constructor for class jodd.mail.EmailAddress
Creates new address by specifying one of the following: "foo@bar.com" - only email address.
EmailAddress(InternetAddress) - Constructor for class jodd.mail.EmailAddress
Creates new email address from InternetAddress.
EmailAddress(Address) - Constructor for class jodd.mail.EmailAddress
Creates new email address from Address.
EmailAttachment - Class in jodd.mail
Email attachment.
EmailAttachment(String, String, boolean) - 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
 
EmailFilter.Operator - Enum in jodd.mail
Comparison operator.
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
Attaches the embedded attachment: content disposition will be set to inline and content id will be set if missing from attachments file name.
EMLComposer - Class in jodd.mail
 
EMLComposer() - Constructor for class jodd.mail.EMLComposer
 
EMLParser - Class in jodd.mail
Developer-friendly class for parsing EML files.
EMLParser() - Constructor for class jodd.mail.EMLParser
 
EMPTY_ARRAY - Static variable in class jodd.mail.EmailAddress
 
extractCfwsPersonalName(boolean) - Method in class jodd.mail.RFC2822AddressParser
Controls the behavior of getInternetAddress.
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, boolean) - 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(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.RFC2822AddressParser.ParsedAddress
Returns domain part of the email address.
getEmail() - Method in class jodd.mail.EmailAddress
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.RFC2822AddressParser.ParsedAddress
Given a 2822-valid single address string, returns an InternetAddress object holding that address, otherwise returns null.
getLocalPart() - Method in class jodd.mail.RFC2822AddressParser.ParsedAddress
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, may be null.
getPersonalName() - Method in class jodd.mail.RFC2822AddressParser.ParsedAddress
Returns personal name.
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.RFC2822AddressParser.ParsedAddress
Pulls out the cleaned-up return path address.
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.
getSubjectEncoding() - Method in class jodd.mail.CommonEmail
Returns the message subject encoding.
getTimeout() - Method in class jodd.mail.SmtpServer
Returns timeout in milliseconds.
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
 
header(String, String) - Method in class jodd.mail.EmailFilter
Defines filter for header.
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
 
initProperties() - Method in class jodd.mail.EMLComposer
 
initProperties() - Method in class jodd.mail.EMLParser
 
inline - Variable in class jodd.mail.EmailAttachment
 
inputStream - Variable in class jodd.mail.att.InputStreamAttachment
 
InputStreamAttachment - Class in jodd.mail.att
InputStream email attachment.
InputStreamAttachment(InputStream, String, String, String, boolean) - Constructor for class jodd.mail.att.InputStreamAttachment
 
isAnswered() - Method in class jodd.mail.ReceivedEmail
Returns true if message is answered.
isConnected() - Method in class jodd.mail.SendMailSession
Returns true if mail session is still connected.
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.
isEmbedded() - Method in class jodd.mail.EmailAttachment
Returns true if attachment is embedded.
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.RFC2822AddressParser.ParsedAddress
Returns true if email is valid.
isValidReturnPath() - Method in class jodd.mail.RFC2822AddressParser.ParsedAddress
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
 

L

LOOSE - Static variable in class jodd.mail.RFC2822AddressParser
Loose parser.

M

MAIL_DEBUG - Static variable in class jodd.mail.SmtpServer
 
MAIL_HOST - Static variable in class jodd.mail.SmtpServer
 
MAIL_IMAP_HOST - Static variable in class jodd.mail.ImapServer
 
MAIL_IMAP_PARTIALFETCH - 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_MIME_ADDRESS_STRICT - Static variable in class jodd.mail.SmtpServer
 
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_FROM - 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_STARTTLS_REQUIRED - 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
 
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(int) - Method in class jodd.mail.EmailFilter
Defines message number filter.
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

parse(String, String) - Method in class jodd.mail.EMLParser
Parses EML with provided EML content.
parse(String) - Method in class jodd.mail.EMLParser
Parses EML with provided EML content.
parse(byte[]) - Method in class jodd.mail.EMLParser
Parses EML with provided EML content.
parse(File) - Method in class jodd.mail.EMLParser
Starts EML parsing with provided EML file.
parse(InputStream) - Method in class jodd.mail.EMLParser
Parses the EML content.
parse(String) - Method in class jodd.mail.RFC2822AddressParser
Parses email address.
parseContentId(Part) - Method in class jodd.mail.ReceivedEmail
 
parseInline(Part) - Method in class jodd.mail.ReceivedEmail
 
parseMessage(Message) - Method in class jodd.mail.ReceivedEmail
Parse java Message and extracts all data for the received message.
parseReceiveDate(Message) - Method in class jodd.mail.ReceivedEmail
 
parseSendDate(Message) - Method in class jodd.mail.ReceivedEmail
 
parseToEmailAddress(String) - Method in class jodd.mail.RFC2822AddressParser
Convenient shortcut of RFC2822AddressParser.parse(String) that returns EmailAddress or null.
parseToInternetAddress(String) - Method in class jodd.mail.RFC2822AddressParser
Convenient shortcut of RFC2822AddressParser.parse(String) that returns InternetAddress or null.
password - Variable in class jodd.mail.ImapSslServer
 
password - Variable in class jodd.mail.Pop3SslServer
 
password - Variable in class jodd.mail.SimpleAuthenticator
 
plaintextOverTLS - Variable in class jodd.mail.SmtpSslServer
 
plaintextOverTLS(boolean) - Method in class jodd.mail.SmtpSslServer
When enabled, SMTP socket factory class will be not set, and Plaintext Authentication over TLS will be enabled.
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.
properties - Variable in class jodd.mail.EMLComposer
 
properties - Variable in class jodd.mail.EMLParser
 
properties(Properties) - Method in class jodd.mail.SmtpServer
 
property(String, String) - Method in class jodd.mail.SmtpServer
 
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.
receivedDate(EmailFilter.Operator, long) - Method in class jodd.mail.EmailFilter
Defines filter for received date.
ReceivedEmail - Class in jodd.mail
Received email.
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(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(InternetAddress[]) - Method in class jodd.mail.Email
Sets one or more REPLY-TO address.
resolveContentType() - Method in class jodd.mail.EmailAttachmentBuilder
Resolves content type from all data.
resolveFileName(Part) - Static method in class jodd.mail.EmailUtil
Correctly resolves file name from the message part.
RFC2822AddressParser - Class in jodd.mail
Utility class to parse, clean up, and extract email addresses per RFC2822 syntax.
RFC2822AddressParser() - Constructor for class jodd.mail.RFC2822AddressParser
 
RFC2822AddressParser.ParsedAddress - Class in jodd.mail
Parsed message address and various information.

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
 
sentDate(EmailFilter.Operator, long) - Method in class jodd.mail.EmailFilter
Defines filter for sent date.
sentOn(Date) - Method in class jodd.mail.Email
 
session - Variable in class jodd.mail.EMLComposer
 
session(Session) - Method in class jodd.mail.EMLComposer
Assigns custom session.
session - Variable in class jodd.mail.EMLParser
 
session(Session) - Method in class jodd.mail.EMLParser
Assigns custom session.
session - Variable in class jodd.mail.ReceiveMailSession
 
sessionProperties - Variable in class jodd.mail.ImapServer
 
sessionProperties - Variable in class jodd.mail.Pop3Server
 
set(Properties) - Method in class jodd.mail.EMLComposer
Copies properties from given set.
set(String, String) - Method in class jodd.mail.EMLComposer
Sets property for the session.
set(Properties) - Method in class jodd.mail.EMLParser
Copies properties from given set.
set(String, String) - Method in class jodd.mail.EMLParser
Sets property for the session.
setBcc(EmailAddress...) - Method in class jodd.mail.CommonEmail
Sets BCC addresses.
setCc(EmailAddress...) - Method in class jodd.mail.CommonEmail
Sets CC addresses.
setContentId(String) - Method in class jodd.mail.EmailAttachmentBuilder
 
setContentIdFromNameIfMissing() - Method in class jodd.mail.EmailAttachmentBuilder
 
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(EmailAddress) - 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
 
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.
setProperty(String, String) - Method in class jodd.mail.ImapServer
Sets the session property.
setProperty(String, String) - Method in class jodd.mail.ImapSslServer
Sets the session property.
setProperty(String, String) - Method in class jodd.mail.Pop3Server
 
setProperty(String, String) - Method in class jodd.mail.Pop3SslServer
 
setProperty(String, String) - Method in interface jodd.mail.ReceiveMailSessionProvider
Sets the mail session property.
setReceiveDate(Date) - Method in class jodd.mail.ReceivedEmail
Sets e-mails receive date.
setReplyTo(EmailAddress...) - 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.
setSubject(String, String) - Method in class jodd.mail.CommonEmail
Sets message subject with specified encoding to override default platform encoding.
setTo(EmailAddress...) - 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
 
size(EmailFilter.Operator, int) - Method in class jodd.mail.EmailFilter
Defines filter for message size.
SmtpServer<T extends 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.
SmtpSslServer - Class in jodd.mail
Secure SMTP server (STARTTLS) for sending emails.
SmtpSslServer(String) - Constructor for class jodd.mail.SmtpSslServer
 
SmtpSslServer(String, int) - Constructor for class jodd.mail.SmtpSslServer
 
startTlsRequired - Variable in class jodd.mail.SmtpSslServer
 
startTlsRequired(boolean) - Method in class jodd.mail.SmtpSslServer
Sets mail.smtp.starttls.required which according to Java Mail API means: If true, requires the use of the STARTTLS command.
store - Variable in class jodd.mail.ReceiveMailSession
 
stream(InputStream) - Method in class jodd.mail.EmailAttachmentBuilder
 
stream(File) - Method in class jodd.mail.EmailAttachmentBuilder
 
STRICT - Static variable in class jodd.mail.RFC2822AddressParser
Strict parser.
strictAddress - Variable in class jodd.mail.SmtpServer
 
strictAddress(boolean) - Method in class jodd.mail.SmtpServer
Disables the strict address.
subject - Variable in class jodd.mail.CommonEmail
 
subject(String) - Method in class jodd.mail.Email
 
subject(String, String) - Method in class jodd.mail.Email
 
subject(String) - Method in class jodd.mail.EmailFilter
Defines filter for SUBJECT field.
subjectEncoding - Variable in class jodd.mail.CommonEmail
 

T

targetMessage - Variable in class jodd.mail.EmailAttachment
 
text(String) - Method in class jodd.mail.EmailFilter
Defines filter on a message body.
timeout - Variable in class jodd.mail.SmtpServer
 
timeout(int) - Method in class jodd.mail.SmtpServer
Defines timeout value in milliseconds for all mail-related operations.
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(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(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.
toInternetAddress() - Method in class jodd.mail.EmailAddress
Creates new InternetAddress from current data.
toString() - Method in class jodd.mail.Email
 
toString() - Method in class jodd.mail.EmailAddress
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
 

V

valueOf(String) - Static method in enum jodd.mail.EmailFilter.Operator
Returns the enum constant of this type with the specified name.
values() - Static method in enum jodd.mail.EmailFilter.Operator
Returns an array containing the constants of this enum type, in the order they are declared.

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 L M N O P R S T U V W X 
Skip navigation links

Copyright © 2003-2013 Jodd Team