- cc(EmailAddress) - Method in class jodd.mail.CommonEmail
-
Appends CC address.
- cc(String) - Method in class jodd.mail.CommonEmail
-
Appends CC address.
- cc(String, String) - Method in class jodd.mail.CommonEmail
-
Appends CC address.
- cc(Address) - Method in class jodd.mail.CommonEmail
-
Appends CC address.
- cc(String...) - Method in class jodd.mail.CommonEmail
-
Sets one or more CC address.
- cc(Address...) - Method in class jodd.mail.CommonEmail
-
Sets one or more CC address.
- cc(EmailAddress...) - Method in class jodd.mail.CommonEmail
-
Appends CC addresses.
- cc() - Method in class jodd.mail.CommonEmail
-
Returns CC addresses.
- cc(String) - Method in class jodd.mail.EmailFilter
-
Defines filter for CC field.
- clone() - Method in class jodd.mail.CommonEmail
-
Clones the email with all its necessary data.
- clone() - Method in class jodd.mail.Email
-
- clone() - Method in class jodd.mail.ReceivedEmail
-
- close() - Method in class jodd.mail.ReceiveMailSession
-
- closeFolderIfOpened() - Method in class jodd.mail.ReceiveMailSession
-
Closes folder if opened and expunge deleted messages.
- CommonEmail<T extends CommonEmail<T>> - 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(T) - Method in class jodd.mail.EmailAttachmentBuilder
-
Sets the DataSource.
- content(InputStream, String) - Method in class jodd.mail.EmailAttachmentBuilder
-
- content(byte[], String) - Method in class jodd.mail.EmailAttachmentBuilder
-
- content(byte[]) - Method in class jodd.mail.EmailAttachmentBuilder
-
Uses null contentType.
- content(File) - Method in class jodd.mail.EmailAttachmentBuilder
-
- content(String) - Method in class jodd.mail.EmailAttachmentBuilder
-
- contentId(String) - Method in class jodd.mail.EmailAttachmentBuilder
-
Sets content ID.
- convert(EmailAddress[]) - Static method in class jodd.mail.EmailAddress
-
Convert from array of
EmailAddress to array of
InternetAddress.
- copyStream(InputStream, OutputStream) - Static method in class jodd.mail.EmailUtil
-
Copies data from InputStream to OutputStream out, closes the InputStream and returns output.
- copyStream(DataSource, OutputStream) - Static method in class jodd.mail.EmailUtil
-
Copies data from DataSource to OutputStream, closes the InputStream and returns output.
- copyStream(DataSource, File) - Static method in class jodd.mail.EmailUtil
-
Copies data from DataSource to File, closes the DataSource and returns output.
- create() - Static method in class jodd.mail.Email
-
Static constructor for fluent interface.
- create() - Static method in class jodd.mail.EMLComposer
-
- create() - Static method in class jodd.mail.EMLParser
-
- create() - Static method in class jodd.mail.MailServer
-
Returns new mail server builder.
- create() - Static method in class jodd.mail.ReceivedEmail
-
Static constructor for fluent interface.
- createAttachmentBodyPart(EmailAttachment<? extends DataSource>) - Method in class jodd.mail.SendMailSession
-
Creates attachment body part.
- createMessage(Email) - Method in class jodd.mail.SendMailSession
-
Creates new
MimeMessage from an
Email.
- createSession(String, Properties, Authenticator) - Static method in class jodd.mail.EmailUtil
-
- createSession() - Method in class jodd.mail.ImapServer
-
Creates new mail session.
- createSession() - Method in class jodd.mail.MailServer
-
Creates new mail session.
- createSession() - Method in class jodd.mail.Pop3Server
-
Creates new mail session.
- createSession() - Method in class jodd.mail.SmtpServer
-
Creates new mail session.
- createSessionProperties() - Method in class jodd.mail.ImapServer
-
- createSessionProperties() - Method in class jodd.mail.ImapSslServer
-
- createSessionProperties() - Method in class jodd.mail.MailServer
-
Creates MailSession Properties.
- createSessionProperties() - Method in class jodd.mail.Pop3Server
-
- createSessionProperties() - Method in class jodd.mail.Pop3SslServer
-
- createSessionProperties() - Method in class jodd.mail.SmtpServer
-
- createSessionProperties() - Method in class jodd.mail.SmtpSslServer
-
- currentSentDate() - Method in class jodd.mail.Email
-
Sets current date as the sent date.
- getAllFolders() - Method in class jodd.mail.ReceiveMailSession
-
Returns array of all Folders as Strings.
- getAuthenticator() - Method in class jodd.mail.MailServer
-
Returns the Authenticator.
- 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.EmailAttachment
-
Returns content type of DataSource.
- getDataSource() - Method in class jodd.mail.EmailAttachment
-
Returns DataSource implementation, depending on 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.
- getHost() - Method in class jodd.mail.MailServer
-
Returns the host.
- 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.
- 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
-
Return new PasswordAuthentication for given username and password.
- getPersonalName() - Method in class jodd.mail.EmailAddress
-
Returns personal name.
- getPersonalName() - Method in class jodd.mail.RFC2822AddressParser.ParsedAddress
-
Returns personal name.
- getPort() - Method in class jodd.mail.MailServer
-
Returns current port.
- 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.
- getService() - Method in class jodd.mail.ReceiveMailSession
-
- getService() - Method in class jodd.mail.SendMailSession
-
- getSessionProperties() - Method in class jodd.mail.MailServer
-
Returns MailSession Properties.
- getSize() - Method in class jodd.mail.EmailAttachment
-
Returns size of attachment.
- getStore(Session) - Method in class jodd.mail.ImapServer
-
Returns email store.
- getStore(Session) - Method in class jodd.mail.ImapSslServer
-
Returns email store.
- getStore(Session) - Method in class jodd.mail.Pop3Server
-
Returns email store.
- getStore(Session) - Method in class jodd.mail.Pop3SslServer
-
Returns email store.
- getTransport(Session) - Method in class jodd.mail.SmtpServer
-
Get the Transport for Session.
- getUnreadMessageCount() - Method in class jodd.mail.ReceiveMailSession
-
Returns the number of unread messages.
- receive(EmailFilter, Flags) - Method in class jodd.mail.ReceiveMailSession
-
Receives all emails that match given
EmailFilter and set given
Flags.
- receivedDate(EmailFilter.Operator, long) - Method in class jodd.mail.EmailFilter
-
Defines filter for received date.
- receivedDate(Date) - Method in class jodd.mail.ReceivedEmail
-
Sets email's received Date.
- receivedDate() - Method in class jodd.mail.ReceivedEmail
-
Returns email's 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
-
- 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
EmailFilter 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
EmailFilter
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.
- replyTo(EmailAddress) - Method in class jodd.mail.CommonEmail
-
Appends REPLY-TO address.
- replyTo(String) - Method in class jodd.mail.CommonEmail
-
Appends REPLY-TO address.
- replyTo(String, String) - Method in class jodd.mail.CommonEmail
-
Appends REPLY-TO address.
- replyTo(Address) - Method in class jodd.mail.CommonEmail
-
Appends REPLY-TO address.
- replyTo(String...) - Method in class jodd.mail.CommonEmail
-
Appends one or more REPLY-TO address.
- replyTo(Address...) - Method in class jodd.mail.CommonEmail
-
Appeds one or more REPLY-TO address.
- replyTo(EmailAddress...) - Method in class jodd.mail.CommonEmail
-
Appends REPLY-TO addresses.
- replyTo() - Method in class jodd.mail.CommonEmail
-
Returns REPLY-TO addresses.
- resetBcc() - Method in class jodd.mail.Email
-
Resets BCC addresses.
- resetCc() - Method in class jodd.mail.CommonEmail
-
Resets all CC addresses.
- resetReplyTo() - Method in class jodd.mail.CommonEmail
-
Resets all REPLY-To addresses.
- resetTo() - Method in class jodd.mail.CommonEmail
-
Resets TO addresses.
- resolveContentType(String) - 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.
- searchTerm - Variable in class jodd.mail.EmailFilter
-
The SearchTerm to be used.
- 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.
- sentDate(Date) - Method in class jodd.mail.CommonEmail
-
Sets email's sent date.
- sentDate() - Method in class jodd.mail.CommonEmail
-
Returns email's sent date.
- sentDate(EmailFilter.Operator, long) - Method in class jodd.mail.EmailFilter
-
Defines filter for sent date.
- setContentId(String) - Method in class jodd.mail.EmailAttachment
-
Sets content ID.
- setContentIdFromNameIfMissing() - Method in class jodd.mail.EmailAttachmentBuilder
-
Set content ID if it is missing.
- setEmbeddedMessage(EmailMessage) - Method in class jodd.mail.EmailAttachment
-
Sets target message for embedded attachments.
- setInline(boolean) - Method in class jodd.mail.EmailAttachment
-
Sets whether attachment is inline.
- setMailMimeDecodefilename(boolean) - Method in class jodd.mail.JoddMail
-
Sets mailMimeDecodefilename variable.
- setMailMimeEncodefilename(boolean) - Method in class jodd.mail.JoddMail
-
Sets mailMimeEncodefilename variable.
- setSize(int) - Method in class jodd.mail.EmailAttachment
-
Sets size of attachment.
- setupSystemMailProperties() - Static method in class jodd.mail.EmailUtil
-
Setups the system email properties.
- SimpleAuthenticator - Class in jodd.mail
-
Performs simple authentication when the server requires it.
- SimpleAuthenticator(String, String) - Constructor for class jodd.mail.SimpleAuthenticator
-
Creates new SimpleAuthenticator for given username and password.
- size(EmailFilter.Operator, int) - Method in class jodd.mail.EmailFilter
-
Defines filter for message size.
- SmtpServer<T extends SmtpServer<T>> - Class in jodd.mail
-
Represents simple plain SMTP server for sending emails.
- SmtpServer(String, int, Authenticator) - Constructor for class jodd.mail.SmtpServer
-
- SmtpSslServer - Class in jodd.mail
-
Secure SMTP server (STARTTLS) for sending emails.
- SmtpSslServer(String, int, Authenticator) - Constructor for class jodd.mail.SmtpSslServer
-
- ssl(boolean) - Method in class jodd.mail.MailServer.Builder
-
Sets the SSL implementation of the Mail server.
- startTlsRequired - Variable in class jodd.mail.SmtpSslServer
-
Defaults to false.
- startTlsRequired(boolean) - Method in class jodd.mail.SmtpSslServer
-
Sets mail.smtp.starttls.required.
- storeAttachment(EmailAttachment<? extends DataSource>) - Method in class jodd.mail.CommonEmail
-
- storeAttachments(List<EmailAttachment<? extends DataSource>>) - Method in class jodd.mail.CommonEmail
-
- STRICT - Static variable in class jodd.mail.RFC2822AddressParser
-
Strict parser.
- strictAddress - Variable in class jodd.mail.SmtpServer
-
Whether strict address checking is turned on.
- strictAddress(boolean) - Method in class jodd.mail.SmtpServer
-
Disables the strict address.
- subject(String) - Method in class jodd.mail.CommonEmail
-
Sets message subject.
- subject(String, String) - Method in class jodd.mail.CommonEmail
-
Sets message subject with specified encoding to override default platform encoding.
- subject() - Method in class jodd.mail.CommonEmail
-
Returns message subject.
- subject(String) - Method in class jodd.mail.EmailFilter
-
Defines filter for SUBJECT field.
- subjectEncoding() - Method in class jodd.mail.CommonEmail
-
Returns the message subject encoding.