Uses of Class
javax.mail.Address

Packages that use Address
javax.mail Classes modeling a mail system. 
javax.mail.event Listeners and events for the JavaMail API. 
javax.mail.internet Classes specific to Internet mail systems. 
javax.mail.search Message search terms for the JavaMail API. 
 

Uses of Address in javax.mail
 

Fields in javax.mail declared as Address
protected  Address[] SendFailedException.invalid
           
protected  Address[] SendFailedException.validSent
           
protected  Address[] SendFailedException.validUnsent
           
 

Methods in javax.mail that return Address
abstract  Address[] Message.getFrom()
          Returns the "From" attribute.
abstract  Address[] Message.getRecipients(Message.RecipientType type)
          Get all the recipient addresses of the given type.
 Address[] Message.getAllRecipients()
          Get all the recipient addresses for the message.
 Address[] Message.getReplyTo()
          Get the addresses to which replies should be directed.
 Address[] SendFailedException.getValidSentAddresses()
          Return the addresses to which this message was sent succesfully.
 Address[] SendFailedException.getValidUnsentAddresses()
          Return the addresses that are valid but to which this message was not sent.
 Address[] SendFailedException.getInvalidAddresses()
          Return the addresses to which this message could not be sent.
 

Methods in javax.mail with parameters of type Address
abstract  void Message.setFrom(Address address)
          Set the "From" attribute in this Message.
abstract  void Message.addFrom(Address[] addresses)
          Add these addresses to the existing "From" attribute
abstract  void Message.setRecipients(Message.RecipientType type, Address[] addresses)
          Set the recipient addresses.
 void Message.setRecipient(Message.RecipientType type, Address address)
          Set the recipient address.
abstract  void Message.addRecipients(Message.RecipientType type, Address[] addresses)
          Add these recipient addresses to the existing ones of the given type.
 void Message.addRecipient(Message.RecipientType type, Address address)
          Add this recipient address to the existing ones of the given type.
 void Message.setReplyTo(Address[] addresses)
          Set the addresses to which replies should be directed.
static void Transport.send(Message msg, Address[] addresses)
          Send the message to the specified addresses, ignoring any recipients specified in the message itself.
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.
 Transport Session.getTransport(Address address)
          Get a Transport object that can transport a Message to the specified address type.
 

Constructors in javax.mail with parameters of type Address
SendFailedException(java.lang.String msg, java.lang.Exception ex, Address[] validSent, Address[] validUnsent, Address[] invalid)
          Constructs a SendFailedException with the specified string and the specified address objects.
 

Uses of Address in javax.mail.event
 

Fields in javax.mail.event declared as Address
protected  Address[] TransportEvent.validSent
           
protected  Address[] TransportEvent.validUnsent
           
protected  Address[] TransportEvent.invalid
           
 

Methods in javax.mail.event that return Address
 Address[] TransportEvent.getValidSentAddresses()
          Return the addresses to which this message was sent succesfully.
 Address[] TransportEvent.getValidUnsentAddresses()
          Return the addresses that are valid but to which this message was not sent.
 Address[] TransportEvent.getInvalidAddresses()
          Return the addresses to which this message could not be sent.
 

Constructors in javax.mail.event with parameters of type Address
TransportEvent(Transport transport, int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg)
          Constructor.
 

Uses of Address in javax.mail.internet
 

Subclasses of Address in javax.mail.internet
 class InternetAddress
          This class models an RFC822 address.
 class NewsAddress
          This class models an RFC1036 newsgroup address.
 

Methods in javax.mail.internet that return Address
 Address[] MimeMessage.getFrom()
          Returns the value of the RFC 822 "From" header fields.
 Address[] MimeMessage.getRecipients(Message.RecipientType type)
          Returns the recepients specified by the type.
 Address[] MimeMessage.getAllRecipients()
          Get all the recipient addresses for the message.
 Address[] MimeMessage.getReplyTo()
          Return the value of the RFC 822 "Reply-To" header field.
 

Methods in javax.mail.internet with parameters of type Address
static java.lang.String InternetAddress.toString(Address[] addresses)
          Convert the given array of InternetAddress objects into a comma separated sequence of address strings.
static java.lang.String InternetAddress.toString(Address[] addresses, int used)
          Convert the given array of InternetAddress objects into a comma separated sequence of address strings.
static java.lang.String NewsAddress.toString(Address[] addresses)
          Convert the given array of NewsAddress objects into a comma separated sequence of address strings.
 void MimeMessage.setFrom(Address address)
          Set the RFC 822 "From" header field.
 void MimeMessage.addFrom(Address[] addresses)
          Add the specified addresses to the existing "From" field.
 void MimeMessage.setRecipients(Message.RecipientType type, Address[] addresses)
          Set the specified recipient type to the given addresses.
 void MimeMessage.addRecipients(Message.RecipientType type, Address[] addresses)
          Add the given addresses to the specified recipient type.
 void MimeMessage.setReplyTo(Address[] addresses)
          Set the RFC 822 "Reply-To" header field.
 

Uses of Address in javax.mail.search
 

Fields in javax.mail.search declared as Address
protected  Address AddressTerm.address
          The address.
 

Methods in javax.mail.search that return Address
 Address AddressTerm.getAddress()
          Return the address to match with.
 

Methods in javax.mail.search with parameters of type Address
protected  boolean AddressStringTerm.match(Address a)
          Check whether the address pattern specified in the constructor is a substring of the string representation of the given Address object.
protected  boolean AddressTerm.match(Address a)
          Match against the argument Address.
 

Constructors in javax.mail.search with parameters of type Address
AddressTerm(Address address)
           
RecipientTerm(Message.RecipientType type, Address address)
          Constructor.
FromTerm(Address address)
          Constructor