Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Uses of Class
javax.mail.Address

Uses of Address in javax.mail
 

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

Methods in javax.mail that return Address
 Address[] SimpleTextMessage.getFrom()
           
 Address[] SimpleTextMessage.getRecipients(Message.RecipientType type)
           
 Address[] SendFailedException.getValidSentAddresses()
           
 Address[] SendFailedException.getValidUnsentAddresses()
           
 Address[] SendFailedException.getInvalidAddresses()
           
abstract  Address[] Message.getFrom()
          Return the "From" header indicating the identity of the person who the message is from; in some circumstances this may be different to the actual sender.
abstract  Address[] Message.getRecipients(Message.RecipientType type)
          Get all recipients of the given type.
 Address[] Message.getAllRecipients()
          Get all recipients of this message.
 Address[] Message.getReplyTo()
          Get the addresses to which replies should be directed.
 

Methods in javax.mail with parameters of type Address
 void SimpleTextMessage.addFrom(Address[] addresses)
           
 void SimpleTextMessage.addRecipients(Message.RecipientType type, Address[] addresses)
           
 void SimpleTextMessage.setFrom(Address address)
           
 void SimpleTextMessage.setRecipients(Message.RecipientType type, Address[] addresses)
           
static void Transport.send(Message message, Address[] addresses)
          Send a message to all addresses provided irrespective of any recipients contained in the message itself using message transports appropriate for each address.
abstract  void Transport.sendMessage(Message message, Address[] addresses)
          Send a message to the supplied addresses using this transport; if any of the addresses are invalid then a SendFailedException is thrown.
protected  void Transport.notifyTransportListeners(int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message message)
           
 Transport Session.getTransport(Address address)
          Return a transport for the protocol associated with the type of this address.
abstract  void Message.setFrom(Address address)
          Set the "From" header to the supplied address.
abstract  void Message.addFrom(Address[] addresses)
          Add multiple addresses to the "From" header.
abstract  void Message.setRecipients(Message.RecipientType type, Address[] addresses)
          Set the list of recipients for the specified type.
 void Message.setRecipient(Message.RecipientType type, Address address)
          Set the list of recipients for the specified type to a single address.
abstract  void Message.addRecipients(Message.RecipientType type, Address[] addresses)
          Add recipents of a specified type.
 void Message.addRecipient(Message.RecipientType type, Address address)
          Add a recipent of a specified type.
 void Message.setReplyTo(Address[] addresses)
          Set the addresses to which replies should be directed.
 

Constructors in javax.mail with parameters of type Address
SendFailedException(java.lang.String message, java.lang.Exception cause, Address[] validSent, Address[] validUnsent, Address[] invalid)