Uses of Class
javax.mail.Message
-
Packages that use Message Package Description gnu.mail.providers gnu.mail.providers.imap This is a provider for the Internet Message Access Protocol, version 4rev1 (IMAP4rev1), as detailed in RFC 3501.gnu.mail.providers.maildir gnu.mail.providers.mbox This is a provider for the UNIXmboxmailbox file format, used by many 3rd-party MUAs including Netscape, Mozilla, mutt, elm, and pine.gnu.mail.providers.nntp This is a provider for the Network News Transfer Protocol (NNTP), as detailed in RFC 977.gnu.mail.providers.pop3 This is a provider for the Internet Post Office Protocol, version 3 (POP3), as detailed in RFC 1939.gnu.mail.providers.smtp A provider for the Simple Mail Transfer Protocol (SMTP), as detailed in RFC 2821, including support for ESMTP service extensions.javax.mail Classes modelling a mail system.javax.mail.event Event objects and listener interfaces for JavaMail.javax.mail.internet Classes modelling Internet mail systems.javax.mail.search Search expressions for executing searches on the messages in a folder. -
-
Uses of Message in gnu.mail.providers
Subclasses of Message in gnu.mail.providers with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Modifier and Type Class Description classgnu.mail.providers.ReadOnlyMessageAbstract read-only message. -
Uses of Message in gnu.mail.providers.imap
Subclasses of Message in gnu.mail.providers.imap Modifier and Type Class Description classIMAPMessageThe message class implementing the IMAP4 mail protocol.Methods in gnu.mail.providers.imap that return Message Modifier and Type Method Description Message[]IMAPFolder. expunge()Expunges this folder.MessageIMAPFolder. getMessage(int msgnum)Returns the specified message number from this folder.MessageIMAPFolder. getMessageByUID(long uid)Message[]IMAPFolder. getMessagesByUID(long[] uids)Message[]IMAPFolder. getMessagesByUID(long start, long end)Message[]IMAPFolder. search(SearchTerm term)IMAP search function.Message[]IMAPFolder. search(SearchTerm term, Message[] msgs)IMAP search function.Methods in gnu.mail.providers.imap with parameters of type Message Modifier and Type Method Description voidIMAPFolder. appendMessages(Message[] messages)Appends the specified set of messages to this folder.voidIMAPFolder. fetch(Message[] messages, FetchProfile fp)IMAP fetch routine.longIMAPFolder. getUID(Message message)Message[]IMAPFolder. search(SearchTerm term, Message[] msgs)IMAP search function. -
Uses of Message in gnu.mail.providers.maildir
Subclasses of Message in gnu.mail.providers.maildir Modifier and Type Class Description classMaildirMessageThe message class implementing the Maildir mail protocol.Methods in gnu.mail.providers.maildir that return Message Modifier and Type Method Description Message[]MaildirFolder. expunge()Expunges this folder.MessageMaildirFolder. getMessage(int msgnum)Returns the specified message number from this folder.Message[]MaildirFolder. getMessages()Returns the messages in this folder.Methods in gnu.mail.providers.maildir with parameters of type Message Modifier and Type Method Description voidMaildirFolder. appendMessages(Message[] m)Appends messages to this folder. -
Uses of Message in gnu.mail.providers.mbox
Subclasses of Message in gnu.mail.providers.mbox Modifier and Type Class Description classMboxMessageThe message class implementing the Mbox mail protocol.Methods in gnu.mail.providers.mbox that return Message Modifier and Type Method Description Message[]MboxFolder. expunge()Expunges this folder.MessageMboxFolder. getMessage(int msgnum)Returns the specified message number from this folder.Message[]MboxFolder. getMessages()Returns the messages in this folder.Methods in gnu.mail.providers.mbox with parameters of type Message Modifier and Type Method Description voidMboxFolder. appendMessages(Message[] m)Appends messages to this folder. -
Uses of Message in gnu.mail.providers.nntp
Subclasses of Message in gnu.mail.providers.nntp Modifier and Type Class Description classNNTPMessageA JavaMail MIME message delegate for an NNTP article.Methods in gnu.mail.providers.nntp that return Message Modifier and Type Method Description Message[]NNTPFolder. expunge()NNTP servers are read-only.Message[]NNTPRootFolder. expunge()MessageNNTPFolder. getMessage(int msgnum)Returns the article corresponding to the specified article number.MessageNNTPRootFolder. getMessage(int msgnum)Message[]NNTPFolder. getMessages()Returns all articles in this group.Methods in gnu.mail.providers.nntp with parameters of type Message Modifier and Type Method Description voidNNTPFolder. appendMessages(Message[] messages)NNTP servers are read-only.voidNNTPRootFolder. appendMessages(Message[] messages)voidNNTPFolder. fetch(Message[] msgs, FetchProfile fp)Prefetch.voidNNTPTransport. sendMessage(Message message, Address[] addresses)Post an article. -
Uses of Message in gnu.mail.providers.pop3
Subclasses of Message in gnu.mail.providers.pop3 Modifier and Type Class Description classPOP3MessageThe message class implementing the POP3 mail protocol.Methods in gnu.mail.providers.pop3 that return Message Modifier and Type Method Description Message[]POP3Folder. expunge()Expunges this folder.MessagePOP3Folder. getMessage(int msgnum)Returns the specified message from this folder.Methods in gnu.mail.providers.pop3 with parameters of type Message Modifier and Type Method Description voidPOP3Folder. appendMessages(Message[] messages)You can't append messages to a POP3 folder.voidPOP3Folder. fetch(Message[] messages, FetchProfile fp)Fetches headers and/or content for the specified messages.java.lang.StringPOP3Folder. getUID(Message message)Returns the unique ID for the given message, ornullif not available. -
Uses of Message in gnu.mail.providers.smtp
Methods in gnu.mail.providers.smtp with parameters of type Message Modifier and Type Method Description voidSMTPTransport. sendMessage(Message message, Address[] addresses)Send the specified message to the server. -
Uses of Message in javax.mail
Methods in javax.mail that return Message Modifier and Type Method Description abstract Message[]Folder. expunge()Expunges (permanently removing) all the messages marked DELETED.abstract MessageFolder. getMessage(int msgnum)Returns the message with the given number.MessageMessageContext. getMessage()Returns the message that contains the content.MessageUIDFolder. getMessageByUID(long uid)Returns the message corresponding to the given UID, ornullif no such message exists.Message[]Folder. getMessages()Returns all messages in this folder.Message[]Folder. getMessages(int[] msgnums)Returns the messages for the specified message numbers.Message[]Folder. getMessages(int start, int end)Returns the messages in the given range (inclusive).Message[]UIDFolder. getMessagesByUID(long[] uids)Returns the messages specified by the given UIDs.Message[]UIDFolder. getMessagesByUID(long start, long end)Returns the messages in the given range.abstract MessageMessage. reply(boolean replyToAll)Returns a new message suitable for a reply to this message.Message[]Folder. search(SearchTerm term)Searches this folder for messages matching the specified search term.Message[]Folder. search(SearchTerm term, Message[] msgs)Searches the given messages for those matching the specified search term.Methods in javax.mail with parameters of type Message Modifier and Type Method Description abstract voidFolder. appendMessages(Message[] msgs)Appends the specified messages to this folder.voidFolder. copyMessages(Message[] msgs, Folder folder)Copies the specified messages into another folder.voidFolder. fetch(Message[] msgs, FetchProfile fp)Fetches the items specified in the given fetch profile for the specified messages.longUIDFolder. getUID(Message message)Returns the UID for the specified message.protected voidFolder. notifyMessageAddedListeners(Message[] msgs)Notify all message count listeners about the addition of messages into this folder.protected voidFolder. notifyMessageChangedListeners(int type, Message msg)Notify all message changed event listeners.protected voidFolder. notifyMessageRemovedListeners(boolean removed, Message[] msgs)Notify all message count listeners about the removal of messages from this folder.protected voidTransport. notifyTransportListeners(int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg)Notifies all transport listeners.Message[]Folder. search(SearchTerm term, Message[] msgs)Searches the given messages for those matching the specified search term.static voidTransport. send(Message msg)Sends the specified message.static voidTransport. send(Message msg, Address[] addresses)Sends the message to the specified addresses, ignoring any recipients specified in the message itself.abstract voidTransport. sendMessage(Message msg, Address[] addresses)Sends the message to the specified list of addresses.voidFolder. setFlags(Message[] msgs, Flags flag, boolean value)Sets the specified flags on each specified message. -
Uses of Message in javax.mail.event
Fields in javax.mail.event declared as Message Modifier and Type Field Description protected MessageMessageChangedEvent. msgThe message that changed.protected MessageTransportEvent. msgprotected Message[]MessageCountEvent. msgsThe messages.Methods in javax.mail.event that return Message Modifier and Type Method Description MessageMessageChangedEvent. getMessage()Returns the changed message.MessageTransportEvent. getMessage()Returns the message.Message[]MessageCountEvent. getMessages()Returns the messages that were added or removed.Constructors in javax.mail.event with parameters of type Message Constructor Description MessageChangedEvent(java.lang.Object source, int type, Message msg)Constructor.MessageCountEvent(Folder source, int type, boolean removed, Message[] msgs)Constructor.TransportEvent(Transport transport, int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg)Constructor. -
Uses of Message in javax.mail.internet
Subclasses of Message in javax.mail.internet Modifier and Type Class Description classMimeMessageA MIME mail message.Methods in javax.mail.internet that return Message Modifier and Type Method Description MessageMimeMessage. reply(boolean replyToAll)Returns a new message suitable for a reply to this message. -
Uses of Message in javax.mail.search
Methods in javax.mail.search with parameters of type Message Modifier and Type Method Description booleanAndTerm. match(Message message)Returns true only if all the terms match the specified message.booleanBodyTerm. match(Message msg)Returns true only if the search text was found in the message body.booleanFlagTerm. match(Message msg)Returns true if the flags in the specified message match this term.booleanFromStringTerm. match(Message msg)Indicates whether the address pattern specified in the constructor is a substring of the string representation of the From address in the given message.booleanFromTerm. match(Message msg)Returns true if the From address in the given message matches the address specified in this term.booleanHeaderTerm. match(Message msg)Returns true if the header in the specified message matches the pattern specified in this term.booleanMessageIDTerm. match(Message msg)Returns true if the given message's Message-Id matches the Message-Id specified in this term.booleanMessageNumberTerm. match(Message msg)Returns true if the message number of the given message is equal to the message number specified in this term.booleanNotTerm. match(Message msg)Returns true only if the term specified in this term does not match the given message.booleanOrTerm. match(Message msg)Returns true only if any of the terms specified in this term match the given message.booleanReceivedDateTerm. match(Message msg)Returns true only if the given message's received date matches this term.booleanRecipientStringTerm. match(Message msg)Returns true only if the address specified in this term is a substring of the recipient address in the given message.booleanRecipientTerm. match(Message msg)Returns true only if the recipient address in the given message matches the address specified in this term.abstract booleanSearchTerm. match(Message msg)Indicates whether the given message matches this search term.booleanSentDateTerm. match(Message msg)Returns true only if the given message's sent date matches the specified date using the specified operator.booleanSizeTerm. match(Message msg)Returns true only if the size of the given message matches the specified size using the specified operator.booleanSubjectTerm. match(Message msg)Returns true only if the pattern specified in this term is a substring of the given message's Subject header.
-