Package | Description |
---|---|
gnu.mail.providers.nntp |
This is a provider for the Network News Transfer Protocol (NNTP), as
detailed in RFC 977.
|
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 | Method and Description |
---|---|
void |
NNTPTransport.sendMessage(Message message,
Address[] addresses)
Post an article.
|
Modifier and Type | Method and Description |
---|---|
void |
SMTPTransport.sendMessage(Message message,
Address[] addresses)
Send the specified message to the server.
|
Modifier and Type | Field and Description |
---|---|
protected Address[] |
SendFailedException.invalid |
protected Address[] |
SendFailedException.validSent |
protected Address[] |
SendFailedException.validUnsent |
Modifier and Type | Method and Description |
---|---|
Address[] |
Message.getAllRecipients()
Returns all the recipient addresses in the message.
|
abstract Address[] |
Message.getFrom()
Returns the identity of the person(s) who ordered the sending of
this message.
|
Address[] |
SendFailedException.getInvalidAddresses()
Returns the addresses to which this message could not be sent.
|
abstract Address[] |
Message.getRecipients(Message.RecipientType type)
Returns all the recipient addresses of the specified type.
|
Address[] |
Message.getReplyTo()
Returns the addresses to which replies should be directed.
|
Address[] |
SendFailedException.getValidSentAddresses()
Returns the addresses to which this message was sent succesfully.
|
Address[] |
SendFailedException.getValidUnsentAddresses()
Returns the addresses that are valid but to which this message was
not sent.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Message.addFrom(Address[] addresses)
Adds addresses to the identity of the person sending this message.
|
void |
Message.addRecipient(Message.RecipientType type,
Address address)
Adds the recipient address of the given type.
|
abstract void |
Message.addRecipients(Message.RecipientType type,
Address[] addresses)
Adds the recipient addresses of the given type.
|
Transport |
Session.getTransport(Address address)
Get a Transport object that can transport a Message to the specified
address type.
|
protected void |
Transport.notifyTransportListeners(int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message msg)
Notifies all transport listeners.
|
protected void |
Transport.notifyTransportListeners(int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message msg)
Notifies all transport listeners.
|
protected void |
Transport.notifyTransportListeners(int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message msg)
Notifies all transport listeners.
|
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.
|
abstract void |
Message.setFrom(Address address)
Sets the identity of the person sending this message.
|
void |
Message.setRecipient(Message.RecipientType type,
Address address)
Sets the recipient address of the specified type.
|
abstract void |
Message.setRecipients(Message.RecipientType type,
Address[] addresses)
Sets the recipient addresses of the specified type.
|
void |
Message.setReplyTo(Address[] addresses)
Sets the addresses to which replies should be directed.
|
Constructor and Description |
---|
SendFailedException(java.lang.String message,
java.lang.Exception exception,
Address[] validSent,
Address[] validUnsent,
Address[] invalid)
Creates a send failed exception with the specified string and
addresses.
|
SendFailedException(java.lang.String message,
java.lang.Exception exception,
Address[] validSent,
Address[] validUnsent,
Address[] invalid)
Creates a send failed exception with the specified string and
addresses.
|
SendFailedException(java.lang.String message,
java.lang.Exception exception,
Address[] validSent,
Address[] validUnsent,
Address[] invalid)
Creates a send failed exception with the specified string and
addresses.
|
Modifier and Type | Field and Description |
---|---|
protected Address[] |
TransportEvent.invalid |
protected Address[] |
TransportEvent.validSent |
protected Address[] |
TransportEvent.validUnsent |
Modifier and Type | Method and Description |
---|---|
Address[] |
TransportEvent.getInvalidAddresses()
Returns the addresses to which this message could not be sent.
|
Address[] |
TransportEvent.getValidSentAddresses()
Returns the addresses to which this message was delivered succesfully.
|
Address[] |
TransportEvent.getValidUnsentAddresses()
Returns the addresses that are valid but to which this message was not
delivered.
|
Constructor and Description |
---|
TransportEvent(Transport transport,
int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message msg)
Constructor.
|
TransportEvent(Transport transport,
int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message msg)
Constructor.
|
TransportEvent(Transport transport,
int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message msg)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
InternetAddress
An RFC 822 address.
|
class |
NewsAddress
An RFC 1036 newsgroup address.
|
Modifier and Type | Method and Description |
---|---|
Address[] |
MimeMessage.getAllRecipients()
Returns all the recipients.
|
Address[] |
MimeMessage.getFrom()
Returns the value of the RFC 822 From header field.
|
Address[] |
MimeMessage.getRecipients(Message.RecipientType type)
Returns the recipients of the given type.
|
Address[] |
MimeMessage.getReplyTo()
Returns the value of the RFC 822 Reply-To header field.
|
Address |
MimeMessage.getSender()
Returns the value of the RFC 822 Sender header field.
|
Modifier and Type | Method and Description |
---|---|
void |
MimeMessage.addFrom(Address[] addresses)
Adds the specified addresses to From header field.
|
void |
MimeMessage.addRecipients(Message.RecipientType type,
Address[] addresses)
Adds the given addresses to the recipients of the specified type.
|
void |
MimeMessage.setFrom(Address address)
Sets the RFC 822 From header field.
|
void |
MimeMessage.setRecipients(Message.RecipientType type,
Address[] addresses)
Sets the recipients of the given type.
|
void |
MimeMessage.setReplyTo(Address[] addresses)
Sets the RFC 822 Reply-To header field.
|
void |
MimeMessage.setSender(Address address)
Sets the RFC 822 Sender header field.
|
static java.lang.String |
NewsAddress.toString(Address[] addresses)
Converts the given array of NewsAddresses into a comma-separated
sequence of address strings.
|
static java.lang.String |
InternetAddress.toString(Address[] addresses)
Converts the given array of InternetAddresses into a comma-separated
sequence of address strings.
|
static java.lang.String |
InternetAddress.toString(Address[] addresses,
int used)
Converts the given array of InternetAddresses into a comma-separated
sequence of address strings.
|
Modifier and Type | Field and Description |
---|---|
protected Address |
AddressTerm.address
The address.
|
Modifier and Type | Method and Description |
---|---|
Address |
AddressTerm.getAddress()
Returns the address to match.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AddressStringTerm.match(Address a)
Indicates whether the address pattern specified in the constructor is a
substring of the string representation of the given address.
|
protected boolean |
AddressTerm.match(Address address)
Returns true if the specified address matches the address specified in
this term.
|
Constructor and Description |
---|
AddressTerm(Address address) |
FromTerm(Address address)
Constructor.
|
RecipientTerm(Message.RecipientType type,
Address address)
Constructor.
|
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved