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 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.
|
Modifier and Type | Class and Description |
---|---|
class |
gnu.mail.providers.ReadOnlyMessage
Abstract read-only message.
|
Modifier and Type | Class and Description |
---|---|
class |
IMAPMessage
The message class implementing the IMAP4 mail protocol.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
MaildirMessage
The message class implementing the Maildir mail protocol.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
MaildirFolder.appendMessages(Message[] m)
Appends messages to this folder.
|
Modifier and Type | Class and Description |
---|---|
class |
MboxMessage
The message class implementing the Mbox mail protocol.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
MboxFolder.appendMessages(Message[] m)
Appends messages to this folder.
|
Modifier and Type | Class and Description |
---|---|
class |
NNTPMessage
A JavaMail MIME message delegate for an NNTP article.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
POP3Message
The message class implementing the POP3 mail protocol.
|
Modifier and Type | Method and Description |
---|---|
Message[] |
POP3Folder.expunge()
Expunges this folder.
|
Message |
POP3Folder.getMessage(int msgnum)
Returns the specified message from this folder.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
void |
SMTPTransport.sendMessage(Message message,
Address[] addresses)
Send the specified message to the server.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected Message |
MessageChangedEvent.msg
The message that changed.
|
protected Message |
TransportEvent.msg |
protected Message[] |
MessageCountEvent.msgs
The messages.
|
Modifier and Type | Method and Description |
---|---|
Message |
MessageChangedEvent.getMessage()
Returns the changed message.
|
Message |
TransportEvent.getMessage()
Returns the message.
|
Message[] |
MessageCountEvent.getMessages()
Returns the messages that were added or removed.
|
Constructor and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
MimeMessage
A MIME mail message.
|
Modifier and Type | Method and Description |
---|---|
Message |
MimeMessage.reply(boolean replyToAll)
Returns a new message suitable for a reply to this message.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AndTerm.match(Message message)
Returns true only if all the terms match the specified message.
|
boolean |
OrTerm.match(Message msg)
Returns true only if any of the terms specified in this term match
the given message.
|
boolean |
BodyTerm.match(Message msg)
Returns true only if the search text was found in the message body.
|
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 |
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 |
SizeTerm.match(Message msg)
Returns true only if the size of the given message matches the
specified size using the specified operator.
|
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 |
MessageIDTerm.match(Message msg)
Returns true if the given message's Message-Id matches the
Message-Id specified in this term.
|
boolean |
NotTerm.match(Message msg)
Returns true only if the term specified in this term does not match the
given message.
|
boolean |
HeaderTerm.match(Message msg)
Returns true if the header in the specified message matches the pattern
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.
|
abstract boolean |
SearchTerm.match(Message msg)
Indicates whether the given message matches this search term.
|
boolean |
ReceivedDateTerm.match(Message msg)
Returns true only if the given message's received date matches this
term.
|
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 |
SentDateTerm.match(Message msg)
Returns true only if the given message's sent date matches the
specified date using the specified operator.
|
boolean |
FlagTerm.match(Message msg)
Returns true if the flags in the specified message match this term.
|
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved