Uses of Class javax.mail.Message

Uses in package javax.mail.internet

Classes derived from javax.mail.Message

class
A MIME mail message.

Methods with return type javax.mail.Message

Message
MimeMessage.reply(boolean replyToAll)
Returns a new message suitable for a reply to this message.

Uses in package javax.mail

Methods with parameter type javax.mail.Message

void
Appends the specified messages to this folder.
void
Folder.copyMessages(Message[] msgs, Folder folder)
Copies the specified messages into another folder.
void
Fetches the items specified in the given fetch profile for the specified messages.
long
Returns the UID for the specified message.
void
Notify all message count listeners about the addition of messages into this folder.
void
Notify all message changed event listeners.
void
Folder.notifyMessageRemovedListeners(boolean removed, Message[] msgs)
Notify all message count listeners about the removal of messages from this folder.
void
Transport.notifyTransportListeners(int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg)
Notifies all transport listeners.
Message[]
Searches the given messages for those matching the specified search term.
void
Sends the specified message.
void
Transport.send(Message msg, Address[] addresses)
Sends the message to the specified addresses, ignoring any recipients specified in the message itself.
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.

Methods with return type javax.mail.Message

Message[]
Expunges (permanently removing) all the messages marked DELETED.
Message
Returns the message that contains the content.
Message
Folder.getMessage(int msgnum)
Returns the message with the given number.
Message
Returns the message corresponding to the given UID, or null if no such message exists.
Message[]
Returns all messages in this folder.
Message[]
Folder.getMessages(int start, int end)
Returns the messages in the given range (inclusive).
Message[]
Folder.getMessages(msgnums[] )
Returns the messages for the specified message numbers.
Message[]
UIDFolder.getMessagesByUID(long start, long end)
Returns the messages in the given range.
Message[]
Returns the messages specified by the given UIDs.
Message
Message.reply(boolean replyToAll)
Returns a new message suitable for a reply to this message.
Message[]
Searches this folder for messages matching the specified search term.
Message[]
Searches the given messages for those matching the specified search term.

Uses in package javax.mail.event

Constructors with parameter type javax.mail.Message

MessageChangedEvent.MessageChangedEvent(Object source, int type, Message msg)
Constructor.
MessageCountEvent.MessageCountEvent(Folder source, int type, boolean removed, Message[] msgs)
Constructor.
TransportEvent.TransportEvent(Transport transport, int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg)
Constructor.

Fields of type javax.mail.Message

Message
The message that changed.
Message
Message[]
The messages.

Methods with return type javax.mail.Message

Message
Returns the changed message.
Message
Returns the message.
Message[]
Returns the messages that were added or removed.

Uses in package gnu.mail.providers.pop3

Classes derived from javax.mail.Message

class
The message class implementing the POP3 mail protocol.

Methods with parameter type javax.mail.Message

void
You can't append messages to a POP3 folder.
void
Fetches headers and/or content for the specified messages.
String
Returns the unique ID for the given message, or null if not available.

Methods with return type javax.mail.Message

Message[]
Expunges this folder.
Message
POP3Folder.getMessage(int msgnum)
Returns the specified message from this folder.

Uses in package gnu.mail.providers.nntp

Classes derived from javax.mail.Message

class
A JavaMail MIME message delegate for an NNTP article.

Methods with parameter type javax.mail.Message

void
NNTP servers are read-only.
void
Appends the specified messages to this folder.
void
Prefetch.
void
NNTPTransport.sendMessage(Message message, Address[] addresses)
Post an article.

Methods with return type javax.mail.Message

Message[]
NNTP servers are read-only.
Message[]
Expunges (permanently removing) all the messages marked DELETED.
Message
NNTPFolder.getMessage(int msgnum)
Returns the article corresponding to the specified article number.
Message
Returns the message with the given number.
Message[]
Returns all articles in this group.

Uses in package gnu.mail.providers.smtp

Methods with parameter type javax.mail.Message

void
SMTPTransport.sendMessage(Message message, Address[] addresses)
Send the specified message to the server.

Uses in package gnu.mail.providers.mbox

Classes derived from javax.mail.Message

class
The message class implementing the Mbox mail protocol.

Methods with parameter type javax.mail.Message

void
Appends messages to this folder.

Methods with return type javax.mail.Message

Message[]
Expunges this folder.
Message
MboxFolder.getMessage(int msgnum)
Returns the specified message number from this folder.
Message[]
Returns the messages in this folder.

Uses in package javax.mail.search

Methods with parameter type javax.mail.Message

boolean
Returns true only if all the terms match the specified message.
boolean
Returns true only if the search text was found in the message body.
boolean
Returns true if the flags in the specified message match this term.
boolean
Indicates whether the address pattern specified in the constructor is a substring of the string representation of the From address in the given message.
boolean
Returns true if the From address in the given message matches the address specified in this term.
boolean
Returns true if the header in the specified message matches the pattern specified in this term.
boolean
Returns true if the given message's Message-Id matches the Message-Id specified in this term.
boolean
Returns true if the message number of the given message is equal to the message number specified in this term.
boolean
Returns true only if the term specified in this term does not match the given message.
boolean
Returns true only if any of the terms specified in this term match the given message.
boolean
Returns true only if the given message's received date matches this term.
boolean
Returns true only if the address specified in this term is a substring of the recipient address in the given message.
boolean
Returns true only if the recipient address in the given message matches the address specified in this term.
boolean
Indicates whether the given message matches this search term.
boolean
Returns true only if the given message's sent date matches the specified date using the specified operator.
boolean
Returns true only if the size of the given message matches the specified size using the specified operator.
boolean
Returns true only if the pattern specified in this term is a substring of the given message's Subject header.

Uses in package gnu.mail.providers.maildir

Classes derived from javax.mail.Message

class
The message class implementing the Maildir mail protocol.

Methods with parameter type javax.mail.Message

void
Appends messages to this folder.

Methods with return type javax.mail.Message

Message[]
Expunges this folder.
Message
Returns the specified message number from this folder.
Message[]
Returns the messages in this folder.

Uses in package gnu.mail.providers.imap

Classes derived from javax.mail.Message

class
The message class implementing the IMAP4 mail protocol.

Methods with parameter type javax.mail.Message

void
Appends the specified set of messages to this folder.
void
IMAP fetch routine.
long
Returns the UID for the specified message.
Message[]
IMAP search function.

Methods with return type javax.mail.Message

Message[]
Expunges this folder.
Message
IMAPFolder.getMessage(int msgnum)
Returns the specified message number from this folder.
Message
Returns the message corresponding to the given UID, or null if no such message exists.
Message[]
IMAPFolder.getMessagesByUID(long start, long end)
Returns the messages in the given range.
Message[]
Returns the messages specified by the given UIDs.
Message[]
IMAP search function.
Message[]
IMAP search function.

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