- 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
-
- 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
-
- createFrom(String...) - Static method in class jodd.mail.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
-
- 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.
- 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
-
- 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.
- 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
-