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

A

addAttachment(String, String, String, byte[]) - Method in class jodd.mail.ReceivedEmail
Adds received attachment.
addFlags(int) - Method in class jodd.mail.ReceivedEmail
 
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
 
address2String(Address[]) - Method in class jodd.mail.ReceiveMailSession
Converts mail address to string.
addText(String) - Method in class jodd.mail.Email
Adds plain message text.
addText(String, String) - Method in class jodd.mail.Email
 
ANSWERED - Static variable in class jodd.mail.ReceivedEmail
 
attach(EmailAttachment) - Method in class jodd.mail.Email
Adds attachment.
attach(EmailAttachmentBuilder) - Method in class jodd.mail.Email
 
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
 
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
 
bcc(String...) - Method in class jodd.mail.Email
 
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
 
cc(String...) - Method in class jodd.mail.Email
 
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
 
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
Creates EmailAttachment.
createAttachmentBodyPart(EmailAttachment) - Method in class jodd.mail.SendMailSession
Creates attachment body part.
createByteArrayAttachment() - Method in class jodd.mail.EmailAttachmentBuilder
Creates ByteArrayAttachment.
createFileAttachment() - Method in class jodd.mail.EmailAttachmentBuilder
Creates FileAttachment.
createInputStreamAttachment() - Method in class jodd.mail.EmailAttachmentBuilder
Creates InputStreamAttachment.
createMessage(Email, Session) - Method in class jodd.mail.SendMailSession
Creates new JavaX message from email.
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.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_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.Pop3SslServer
 
DEFAULT_SSL_PORT - Static variable in class jodd.mail.SmtpSslServer
 
DELETED - Static variable in class jodd.mail.ReceivedEmail
 
DRAFT - Static variable in class jodd.mail.ReceivedEmail
 

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
A utility class to parse, clean up, and extract email addresses from messages per RFC2822 syntax.
EmailAddress() - Constructor for class jodd.mail.EmailAddress
 
EmailAddress(String) - Constructor for class jodd.mail.EmailAddress
 
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
 
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.
embed(EmailAttachment) - Method in class jodd.mail.Email
Embed attachment to last message.
embed(EmailAttachmentBuilder) - Method in class jodd.mail.Email
 
equals(Object) - Method in class jodd.mail.EmailAddress
 
extractEncoding(String) - Method in class jodd.mail.ReceiveMailSession
Parses content type for encoding.
extractMimeType(String) - Method in class jodd.mail.ReceiveMailSession
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
File email attachment.
FileAttachment(File, String, String) - Constructor for class jodd.mail.att.FileAttachment
 
filterEmbeddedAttachments(LinkedList<EmailAttachment>, EmailMessage) - Method in class jodd.mail.SendMailSession
Filters out the list of embedded attachments for given message.
FLAGGED - Static variable in class jodd.mail.ReceivedEmail
 
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
 

G

getAllHeaders() - Method in class jodd.mail.CommonEmail
Returns all headers as a HashMap.
getAllMessages() - Method in class jodd.mail.CommonEmail
Returns all 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.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.
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.Pop3Server
Returns POP host address.
getHost() - Method in class jodd.mail.SmtpServer
Returns SMTP host address.
getLabel() - Method in class jodd.mail.EmailAddress
Party label associated with this address, for example, 'Home', 'Work', etc.
getMessageCount() - Method in class jodd.mail.ReceiveMailSession
Returns number of messages.
getMessageNumber() - Method in class jodd.mail.ReceivedEmail
 
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
 
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.
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.Pop3Server
Returns email store.
getStore(Session) - Method in class jodd.mail.Pop3SslServer
 
getSubject() - Method in class jodd.mail.CommonEmail
Returns message subject.
getText() - Method in class jodd.mail.EmailAddress
Returns the actual email address string, e.g.
getTo() - Method in class jodd.mail.CommonEmail
Returns TO addresses.
getTransport(Session) - Method in class jodd.mail.SmtpServer
Returns mail transport.

H

hasFlags(int) - Method in class jodd.mail.ReceivedEmail
 
hashCode() - Method in class jodd.mail.EmailAddress
 
header(String, String) - Method in class jodd.mail.Email
 
headers - Variable in class jodd.mail.CommonEmail
 
host - Variable in class jodd.mail.Pop3Server
 
host - Variable in class jodd.mail.SmtpServer
 

I

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
 
isBouncing() - Method in class jodd.mail.EmailAddress
Returns whether or not any emails sent to this email address come back as bounced (undeliverable).
isEmbeddedInto(EmailMessage) - Method in class jodd.mail.EmailAttachment
Returns true if attachment is embedded into provided message.
isInline() - Method in class jodd.mail.EmailAttachment
Returns true if it is inline attachment.
isValid() - Method in class jodd.mail.EmailAddress
Returns whether or not the text represented by this object instance is valid according to the RFC 2822 rules.
isValidText(String) - Static method in class jodd.mail.EmailAddress
Utility method that checks to see if the specified string is a valid email address according to the RFC 2822 specification.
isVerified() - Method in class jodd.mail.EmailAddress
Returns whether or not the party associated with this email has verified that it is their email address.

J

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

M

MAIL_HOST - 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_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_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
 
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
 
message2Email(Message) - Method in class jodd.mail.ReceiveMailSession
 
messageNumber - Variable in class jodd.mail.ReceivedEmail
 
messages - Variable in class jodd.mail.CommonEmail
 

N

name - Variable in class jodd.mail.EmailAttachment
 

O

open() - Method in class jodd.mail.ReceiveMailSession
Opens session.
open() - Method in class jodd.mail.SendMailSession
Opens mail session.

P

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.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.ReceiveMailSession
Process single part of received message.
PROTOCOL_POP3 - Static variable in class jodd.mail.Pop3Server
 
PROTOCOL_SMTP - Static variable in class jodd.mail.SmtpServer
 

R

ReceivedEmail - Class in jodd.mail
Received email.
ReceivedEmail() - Constructor for class jodd.mail.ReceivedEmail
 
receiveEmail(boolean) - Method in class jodd.mail.ReceiveMailSession
Receives all emails.
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
Create email receiving sessions.
RECENT - Static variable in class jodd.mail.ReceivedEmail
 
recvDate - Variable in class jodd.mail.ReceivedEmail
 
removeFlags(int) - Method in class jodd.mail.ReceivedEmail
 
replyTo - Variable in class jodd.mail.CommonEmail
 
replyTo(String) - Method in class jodd.mail.Email
 
replyTo(String...) - Method in class jodd.mail.Email
 
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

SEEN - Static variable in class jodd.mail.ReceivedEmail
 
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
Create email seding sessions.
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.Pop3Server
 
sessionProperties - Variable in class jodd.mail.SmtpServer
 
setBcc(String...) - Method in class jodd.mail.CommonEmail
Sets BCC addresses.
setBouncing(boolean) - Method in class jodd.mail.EmailAddress
 
setCc(String...) - 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(int) - Method in class jodd.mail.ReceivedEmail
 
setFrom(String) - 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
 
setLabel(String) - Method in class jodd.mail.EmailAddress
 
setMessageNumber(int) - Method in class jodd.mail.ReceivedEmail
 
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(String...) - 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.
setText(String) - Method in class jodd.mail.EmailAddress
 
setTo(String...) - Method in class jodd.mail.CommonEmail
Sets TO addresses.
setVerified(boolean) - Method in class jodd.mail.EmailAddress
 
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
 
STR_CHARSET - Static 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
 

T

targetMessage - Variable in class jodd.mail.EmailAttachment
 
to - Variable in class jodd.mail.CommonEmail
 
to(String) - Method in class jodd.mail.Email
 
to(String...) - Method in class jodd.mail.Email
 
toByteArray() - Method in class jodd.mail.EmailAttachment
Returns byte content of the attachment.
toString() - Method in class jodd.mail.Email
 
toString() - Method in class jodd.mail.EmailAddress
 

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.
USER - Static variable in class jodd.mail.ReceivedEmail
 
username - Variable in class jodd.mail.Pop3SslServer
 
username - Variable in class jodd.mail.SimpleAuthenticator
 

V

VALID_PATTERN - Static variable in class jodd.mail.EmailAddress
 

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 V W X

Copyright © 2003-2013 Jodd Team