Uses of Class javax.mail.Address

Uses in package javax.mail

Constructors with parameter type javax.mail.Address

SendFailedException.SendFailedException(String message, Exception exception, Address[] validSent, Address[] validUnsent, Address[] invalid)
Constructs a SendFailedException with the specified string and the specified address objects.

Fields of type javax.mail.Address

Address[]
Address[]
Address[]

Methods with parameter type javax.mail.Address

void
Message.addFrom(Address[] addresses)
Add these addresses to the existing "From" attribute
void
Add this recipient address to the existing ones of the given type.
void
Add these recipient addresses to the existing ones of the given type.
Transport
Get a Transport object that can transport a Message to the specified address type.
void
Transport.notifyTransportListeners(int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg)
Notify all TransportListeners.
void
Transport.send(Message msg, Address[] addresses)
Send the message to the specified addresses, ignoring any recipients specified in the message itself.
void
Transport.sendMessage(Message msg, Address[] addresses)
Send the Message to the specified list of addresses.
void
Set the "From" attribute in this Message.
void
Set the recipient address.
void
Set the recipient addresses.
void
Message.setReplyTo(Address[] addresses)
Set the addresses to which replies should be directed.

Methods with return type javax.mail.Address

Address[]
Get all the recipient addresses for the message.
Address[]
Returns the "From" attribute.
Address[]
Return the addresses to which this message could not be sent.
Address[]
Get all the recipient addresses of the given type.
Address[]
Get the addresses to which replies should be directed.
Address[]
Return the addresses to which this message was sent succesfully.
Address[]
Return the addresses that are valid but to which this message was not sent.

Uses in package javax.mail.internet

Classes derived from javax.mail.Address

class
This class models an RFC822 address.
class
This class models an RFC1036 newsgroup address.

Methods with parameter type javax.mail.Address

void
Add the specified addresses to the existing "From" field.
void
Add the given addresses to the specified recipient type.
void
Set the RFC 822 "From" header field.
void
Set the specified recipient type to the given addresses.
void
Set the RFC 822 "Reply-To" header field.
void
Set the RFC 822 "Sender header field.
String
Convert the given array of InternetAddress objects into a comma separated sequence of address strings.
String
Convert the given array of NewsAddress objects into a comma separated sequence of address strings.
String
InternetAddress.toString(Address[] addresses, int used)
Convert the given array of InternetAddress objects into a comma separated sequence of address strings.

Methods with return type javax.mail.Address

Address[]
Get all the recipient addresses for the message.
Address[]
Returns the value of the RFC 822 "From" header fields.
Address[]
Returns the recipients specified by the type.
Address[]
Return the value of the RFC 822 "Reply-To" header field.
Address
Returns the value of the RFC 822 "Sender" header field.

Uses in package javax.mail.event

Constructors with parameter type javax.mail.Address

TransportEvent.TransportEvent(Transport transport, int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg)
Constructor.

Fields of type javax.mail.Address

Address[]
Address[]
Address[]

Methods with return type javax.mail.Address

Address[]
Return the addresses to which this message could not be sent.
Address[]
Return the addresses to which this message was sent succesfully.
Address[]
Return the addresses that are valid but to which this message was not sent.

Uses in package javax.mail.search

Constructors with parameter type javax.mail.Address

Constructor
Constructor.

Fields of type javax.mail.Address

Address
The address.

Methods with parameter type javax.mail.Address

boolean
Check whether the address pattern specified in the constructor is a substring of the string representation of the given Address object.
boolean
Match against the argument Address.

Methods with return type javax.mail.Address

Address
Return the address to match with.

Uses in package gnu.mail.providers.smtp

Methods with parameter type javax.mail.Address

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

Uses in package gnu.mail.providers.nntp

Methods with parameter type javax.mail.Address

void
NNTPTransport.sendMessage(Message message, Address[] addresses)
Post an article.

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