Uses of Class
javax.mail.Message

Packages that use Message
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 This is a provider for Dan Bernstein's Maildir mailbox format, used primarily by the qmail MTA, and also by some MUAs such as mutt
gnu.mail.providers.mbox This is a provider for the UNIX mbox mailbox 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
 class gnu.mail.providers.ReadOnlyMessage
          Abstract read-only message.
 

Uses of Message in gnu.mail.providers.imap
 

Subclasses of Message in gnu.mail.providers.imap
 class IMAPMessage
          The message class implementing the IMAP4 mail protocol.
 

Methods in gnu.mail.providers.imap that return Message
 Message[] IMAPFolder.expunge()
          Expunges this folder.
 Message IMAPFolder.getMessage(int msgnum)
          Returns the specified message number from this folder.
 Message IMAPFolder.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
 void IMAPFolder.appendMessages(Message[] messages)
          Appends the specified set of messages to this folder.
 void IMAPFolder.fetch(Message[] messages, FetchProfile fp)
          IMAP fetch routine.
 long IMAPFolder.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
 class MaildirMessage
          The message class implementing the Maildir mail protocol.
 

Methods in gnu.mail.providers.maildir that return Message
 Message[] MaildirFolder.expunge()
          Expunges this folder.
 Message MaildirFolder.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
 void MaildirFolder.appendMessages(Message[] m)
          Appends messages to this folder.
 

Uses of Message in gnu.mail.providers.mbox
 

Subclasses of Message in gnu.mail.providers.mbox
 class MboxMessage
          The message class implementing the Mbox mail protocol.
 

Methods in gnu.mail.providers.mbox that return Message
 Message[] MboxFolder.expunge()
          Expunges this folder.
 Message MboxFolder.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
 void MboxFolder.appendMessages(Message[] m)
          Appends messages to this folder.
 

Uses of Message in gnu.mail.providers.nntp
 

Subclasses of Message in gnu.mail.providers.nntp
 class NNTPMessage
          A JavaMail MIME message delegate for an NNTP article.
 

Methods in gnu.mail.providers.nntp that return Message
 Message[] NNTPFolder.expunge()
          NNTP servers are read-only.
 Message NNTPFolder.getMessage(int msgnum)
          Returns the article corresponding to the specified article number.
 Message[] NNTPFolder.getMessages()
          Returns all articles in this group.
 

Methods in gnu.mail.providers.nntp with parameters of type Message
 void NNTPFolder.appendMessages(Message[] messages)
          NNTP servers are read-only.
 void NNTPFolder.fetch(Message[] msgs, FetchProfile fp)
          Prefetch.
 void NNTPTransport.sendMessage(Message message, Address[] addresses)
          Post an article.
 

Uses of Message in gnu.mail.providers.pop3
 

Subclasses of Message in gnu.mail.providers.pop3
 class POP3Message
          The message class implementing the POP3 mail protocol.
 

Methods in gnu.mail.providers.pop3 that return Message
 Message[] POP3Folder.expunge()
          Expunges this folder.
 Message POP3Folder.getMessage(int msgnum)
          Returns the specified message from this folder.
 

Methods in gnu.mail.providers.pop3 with parameters of type Message
 void POP3Folder.appendMessages(Message[] messages)
          You can't append messages to a POP3 folder.
 void POP3Folder.fetch(Message[] messages, FetchProfile fp)
          Fetches headers and/or content for the specified messages.
 java.lang.String POP3Folder.getUID(Message message)
          Returns the unique ID for the given message, or null if not available.
 

Uses of Message in gnu.mail.providers.smtp
 

Methods in gnu.mail.providers.smtp with parameters of type Message
 void SMTPTransport.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
abstract  Message[] Folder.expunge()
          Expunges (permanently removing) all the messages marked DELETED.
 Message MessageContext.getMessage()
          Returns the message that contains the content.
abstract  Message Folder.getMessage(int msgnum)
          Returns the message with the given number.
 Message UIDFolder.getMessageByUID(long uid)
          Returns the message corresponding to the given UID, or null if 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  Message Message.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
abstract  void Folder.appendMessages(Message[] msgs)
          Appends the specified messages to this folder.
 void Folder.copyMessages(Message[] msgs, Folder folder)
          Copies the specified messages into another folder.
 void Folder.fetch(Message[] msgs, FetchProfile fp)
          Fetches the items specified in the given fetch profile for the specified messages.
 long UIDFolder.getUID(Message message)
          Returns the UID for the specified message.
protected  void Folder.notifyMessageAddedListeners(Message[] msgs)
          Notify all message count listeners about the addition of messages into this folder.
protected  void Folder.notifyMessageChangedListeners(int type, Message msg)
          Notify all message changed event listeners.
protected  void Folder.notifyMessageRemovedListeners(boolean removed, Message[] msgs)
          Notify all message count listeners about the removal of messages from this folder.
protected  void Transport.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 void Transport.send(Message msg)
          Sends the specified message.
static void Transport.send(Message msg, Address[] addresses)
          Sends the message to the specified addresses, ignoring any recipients specified in the message itself.
abstract  void Transport.sendMessage(Message msg, Address[] addresses)
          Sends the message to the specified list of addresses.
 void Folder.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
protected  Message TransportEvent.msg
           
protected  Message MessageChangedEvent.msg
          The message that changed.
protected  Message[] MessageCountEvent.msgs
          The messages.
 

Methods in javax.mail.event that return Message
 Message TransportEvent.getMessage()
          Returns the message.
 Message MessageChangedEvent.getMessage()
          Returns the changed message.
 Message[] MessageCountEvent.getMessages()
          Returns the messages that were added or removed.
 

Constructors in javax.mail.event with parameters of type Message
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
 class MimeMessage
          A MIME mail message.
 

Methods in javax.mail.internet that return Message
 Message MimeMessage.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
 boolean SentDateTerm.match(Message msg)
          Returns true only if the given message's sent date matches the specified date using the specified operator.
abstract  boolean SearchTerm.match(Message msg)
          Indicates whether the given message matches this search term.
 boolean HeaderTerm.match(Message msg)
          Returns true if the header in the specified message matches the pattern specified in this term.
 boolean RecipientStringTerm.match(Message msg)
          Returns true only if the address specified in this term is a substring of the recipient address in the given message.
 boolean AndTerm.match(Message message)
          Returns true only if all the terms match the specified message.
 boolean MessageIDTerm.match(Message msg)
          Returns true if the given message's Message-Id matches the Message-Id specified in this term.
 boolean OrTerm.match(Message msg)
          Returns true only if any of the terms specified in this term match the given message.
 boolean NotTerm.match(Message msg)
          Returns true only if the term specified in this term does not match the given message.
 boolean ReceivedDateTerm.match(Message msg)
          Returns true only if the given message's received date matches this term.
 boolean MessageNumberTerm.match(Message msg)
          Returns true if the message number of the given message is equal to the message number specified in this term.
 boolean SubjectTerm.match(Message msg)
          Returns true only if the pattern specified in this term is a substring of the given message's Subject header.
 boolean FlagTerm.match(Message msg)
          Returns true if the flags in the specified message match this term.
 boolean SizeTerm.match(Message msg)
          Returns true only if the size of the given message matches the specified size using the specified operator.
 boolean BodyTerm.match(Message msg)
          Returns true only if the search text was found in the message body.
 boolean RecipientTerm.match(Message msg)
          Returns true only if the recipient address in the given message matches the address specified in this term.
 boolean FromTerm.match(Message msg)
          Returns true if the From address in the given message matches the address specified in this term.
 boolean FromStringTerm.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.
 



© Copyright 2003, 2004 The Free Software Foundation, All rights reserved