Uses of Class
javax.mail.Message

Packages that use Message
javax.mail   
javax.mail.event   
javax.mail.internet   
javax.mail.search   
 

Uses of Message in javax.mail
 

Methods in javax.mail that return Message
 Message MessageContext.getMessage()
          Return the Message that contains the content.
abstract  Message Message.reply(boolean replyToAll)
          Get a new Message suitable for a reply to this message.
abstract  Message Folder.getMessage(int msgnum)
          Get the Message object corresponding to the given message number.
 Message[] Folder.getMessages(int start, int end)
          Get the Message objects for message numbers ranging from start through end, both start and end inclusive.
 Message[] Folder.getMessages(int[] msgnums)
          Get the Message objects for message numbers specified in the array.
 Message[] Folder.getMessages()
          Get all Message objects from this Folder.
abstract  Message[] Folder.expunge()
          Expunge (permanently remove) messages marked DELETED.
 Message[] Folder.search(SearchTerm term)
          Search this Folder for messages matching the specified search criterion.
 Message[] Folder.search(SearchTerm term, Message[] msgs)
          Search the given array of messages for those that match the specified search criterion.
 Message UIDFolder.getMessageByUID(long uid)
          Get the Message corresponding to the given UID.
 Message[] UIDFolder.getMessagesByUID(long start, long end)
          Get the Messages specified by the given range.
 Message[] UIDFolder.getMessagesByUID(long[] uids)
          Get the Messages specified by the given array of UIDs.
 

Methods in javax.mail with parameters of type Message
abstract  void Folder.appendMessages(Message[] msgs)
          Append given Messages to this folder.
 void Folder.fetch(Message[] msgs, FetchProfile fp)
          Prefetch the items specified in the FetchProfile for the given Messages.
 void Folder.setFlags(Message[] msgs, Flags flag, boolean value)
          Set the specified flags on the messages specified in the array.
 void Folder.copyMessages(Message[] msgs, Folder folder)
          Copy the specified Messages from this Folder into another Folder.
 Message[] Folder.search(SearchTerm term, Message[] msgs)
          Search the given array of messages for those that match the specified search criterion.
protected  void Folder.notifyMessageAddedListeners(Message[] msgs)
          Notify all MessageCountListeners about the addition of messages into this folder.
protected  void Folder.notifyMessageRemovedListeners(boolean removed, Message[] msgs)
          Notify all MessageCountListeners about the removal of messages from this Folder.
protected  void Folder.notifyMessageChangedListeners(int type, Message msg)
          Notify all MessageChangedListeners.
 long UIDFolder.getUID(Message message)
          Get the UID for the specified message.
static void Transport.send(Message msg)
          Send a message.
static void Transport.send(Message msg, Address[] addresses)
          Send the message to the specified addresses.
abstract  void Transport.sendMessage(Message msg, Address[] addresses)
          Send the Message to the specified list of addresses.
protected  void Transport.notifyTransportListeners(int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg)
          Notify all TransportListeners.
 

Uses of Message in javax.mail.event
 

Fields in javax.mail.event declared as Message
protected  Message[] MessageCountEvent.msgs
          The messages.
protected  Message TransportEvent.msg
           
protected  Message MessageChangedEvent.msg
          The message that changed.
 

Methods in javax.mail.event that return Message
 Message[] MessageCountEvent.getMessages()
          Return the array of messages added or removed.
 Message MessageChangedEvent.getMessage()
          Return the changed Message.
 

Constructors in javax.mail.event with parameters of type Message
MessageCountEvent.MessageCountEvent(Folder folder, int type, boolean removed, Message[] msgs)
          Constructor.
TransportEvent.TransportEvent(Transport transport, int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg)
          Constructor.
MessageChangedEvent.MessageChangedEvent(java.lang.Object source, int type, Message msg)
          Constructor.
 

Uses of Message in javax.mail.internet
 

Subclasses of Message in javax.mail.internet
 class MimeMessage
          This class represents a MIME style email message.
 

Methods in javax.mail.internet that return Message
 Message MimeMessage.reply(boolean replyToAll)
          Get 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
abstract  boolean SearchTerm.match(Message msg)
          This method applies a specific match criterion to the given message and returns the result.
 boolean NotTerm.match(Message msg)
           
 boolean FlagTerm.match(Message msg)
          The comparison method.
 boolean MessageIDTerm.match(Message msg)
          The match method.
 boolean BodyTerm.match(Message msg)
          The match method.
 boolean OrTerm.match(Message msg)
          The OR operation.
 boolean SentDateTerm.match(Message msg)
          The match method.
 boolean AndTerm.match(Message msg)
          The AND operation.
 boolean SubjectTerm.match(Message msg)
          The match method.
 boolean MessageNumberTerm.match(Message msg)
          The match method.
 boolean ReceivedDateTerm.match(Message msg)
          The match method.
 boolean RecipientStringTerm.match(Message msg)
          Check whether the address specified in the constructor is a substring of the recipient address of this Message.
 boolean FromStringTerm.match(Message msg)
          Check whether the address string specified in the constructor is a substring of the From address of this Message.
 boolean HeaderTerm.match(Message msg)
          The header match method.
 boolean SizeTerm.match(Message msg)
          The match method.
 boolean FromTerm.match(Message msg)
          The address comparator.
 boolean RecipientTerm.match(Message msg)
          The match method.