- get() - Method in class jodd.mail.ReceiverBuilder
-
Receives the emails as specified by the builder.
- getAllFolders() - Method in class jodd.mail.ReceiveMailSession
-
Returns array of all Folder
s as String
s.
- 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.
- getFolder(String) - Method in class jodd.mail.ReceiveMailSession
-
Just returns a folder, w/o opening.
- 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.
- 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
-
- 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() - Method in class jodd.mail.ReceiveMailSession
-
Defines the process of received email in an fluent way.
- 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, boolean, File) - 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').
- receiveEnvelopes() - Method in class jodd.mail.ReceiveMailSession
-
- receiveEnvelopes(EmailFilter) - Method in class jodd.mail.ReceiveMailSession
-
- ReceiveMailSession - Class in jodd.mail
-
Encapsulates
Email
receiving session.
- ReceiveMailSession(Session, Store, File) - Constructor for class jodd.mail.ReceiveMailSession
-
Creates new mail session.
- ReceiverBuilder - Class in jodd.mail
-
Fluent builder
- ReceiverBuilder(ReceiveMailSession) - Constructor for class jodd.mail.ReceiverBuilder
-
- 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.
- setSize(int) - Method in class jodd.mail.EmailAttachment
-
Sets size of attachment.
- 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 - Class in jodd.mail
-
Represents simple plain SMTP server for sending emails.
- SmtpServer(MailServer.Builder) - Constructor for class jodd.mail.SmtpServer
-
- SmtpServer(MailServer.Builder, int) - Constructor for class jodd.mail.SmtpServer
-
- SmtpSslServer - Class in jodd.mail
-
Secure SMTP server (STARTTLS) for sending emails.
- SmtpSslServer(MailServer.Builder) - 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
-
- storeAttachmentsIn(File) - Method in class jodd.mail.MailServer.Builder
-
Defines attachment storage, a folder where attachments will be saved.
- STRICT - Static variable in class jodd.mail.RFC2822AddressParser
-
Strict parser.
- strictAddress(boolean) - Method in class jodd.mail.MailServer.Builder
-
Disables the strict address.
- strictAddress - Variable in class jodd.mail.MailServer
-
Whether strict address checking is turned on.
- 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.