|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Address | |
---|---|
javax.mail | |
javax.mail.event | |
javax.mail.internet | |
javax.mail.search |
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 | |
---|---|
Address[] |
Message.getAllRecipients()
Get all recipients of this message. |
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. |
Address[] |
SendFailedException.getInvalidAddresses()
|
abstract Address[] |
Message.getRecipients(Message.RecipientType type)
Get all recipients of the given type. |
Address[] |
Message.getReplyTo()
Get the addresses to which replies should be directed. |
Address[] |
SendFailedException.getValidSentAddresses()
|
Address[] |
SendFailedException.getValidUnsentAddresses()
|
Methods in javax.mail with parameters of type Address | |
---|---|
abstract void |
Message.addFrom(Address[] addresses)
Add multiple addresses to the "From" header. |
void |
Message.addRecipient(Message.RecipientType type,
Address address)
Add a recipent of a specified type. |
abstract void |
Message.addRecipients(Message.RecipientType type,
Address[] addresses)
Add recipents of a specified type. |
Transport |
Session.getTransport(Address address)
Return a transport for the protocol associated with the type of this address. |
protected void |
Transport.notifyTransportListeners(int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message message)
|
protected void |
Transport.notifyTransportListeners(int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message message)
|
protected void |
Transport.notifyTransportListeners(int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message message)
|
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. |
abstract void |
Message.setFrom(Address address)
Set the "From" header to the supplied address. |
void |
Message.setRecipient(Message.RecipientType type,
Address address)
Set the list of recipients for the specified type to a single address. |
abstract void |
Message.setRecipients(Message.RecipientType type,
Address[] addresses)
Set the list of recipients for the 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(String message,
Exception cause,
Address[] validSent,
Address[] validUnsent,
Address[] invalid)
|
|
SendFailedException(String message,
Exception cause,
Address[] validSent,
Address[] validUnsent,
Address[] invalid)
|
|
SendFailedException(String message,
Exception cause,
Address[] validSent,
Address[] validUnsent,
Address[] invalid)
|
Uses of Address in javax.mail.event |
---|
Fields in javax.mail.event declared as Address | |
---|---|
protected Address[] |
TransportEvent.invalid
Addresses that are invalid. |
protected Address[] |
TransportEvent.validSent
Addresses to which the message was successfully delivered. |
protected Address[] |
TransportEvent.validUnsent
Addresses which are valid but to which the message was not sent. |
Methods in javax.mail.event that return Address | |
---|---|
Address[] |
TransportEvent.getInvalidAddresses()
|
Address[] |
TransportEvent.getValidSentAddresses()
|
Address[] |
TransportEvent.getValidUnsentAddresses()
|
Constructors in javax.mail.event with parameters of type Address | |
---|---|
TransportEvent(Transport transport,
int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message message)
Construct a new event, |
|
TransportEvent(Transport transport,
int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message message)
Construct a new event, |
|
TransportEvent(Transport transport,
int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message message)
Construct a new event, |
Uses of Address in javax.mail.internet |
---|
Subclasses of Address in javax.mail.internet | |
---|---|
class |
InternetAddress
A representation of an Internet email address as specified by RFC822 in conjunction with a human-readable personal name that can be encoded as specified by RFC2047. |
class |
NewsAddress
A representation of an RFC1036 Internet newsgroup address. |
Methods in javax.mail.internet that return Address | |
---|---|
Address[] |
MimeMessage.getAllRecipients()
Retrieve all of the recipients defined for this message. |
Address[] |
MimeMessage.getFrom()
Get the message "From" addresses. |
Address[] |
MimeMessage.getRecipients(Message.RecipientType type)
Gets the recipients by type. |
Address[] |
MimeMessage.getReplyTo()
Get the ReplyTo address information. |
Address |
MimeMessage.getSender()
Return the "Sender" header as an address. |
Methods in javax.mail.internet with parameters of type Address | |
---|---|
void |
MimeMessage.addFrom(Address[] addresses)
Add a set of addresses to the existing From header. |
void |
MimeMessage.addRecipients(Message.RecipientType type,
Address[] address)
Add a list of addresses to a target recipient list. |
void |
MimeMessage.setFrom(Address address)
Set the current message "From" recipient. |
void |
MimeMessage.setRecipients(Message.RecipientType type,
Address[] addresses)
Set a recipients list for a particular recipient type. |
void |
MimeMessage.setReplyTo(Address[] address)
Set the Reply-To field to the provided list of addresses. |
void |
MimeMessage.setSender(Address address)
Set the "Sender" header. |
static String |
InternetAddress.toString(Address[] addresses)
Convert the supplied addresses into a single String of comma-separated text as produced by toString() . |
static String |
NewsAddress.toString(Address[] addresses)
Convert the supplied addresses to a comma-separated String. |
static String |
InternetAddress.toString(Address[] addresses,
int used)
Convert the supplies addresses into a String of comma-separated text, inserting line-breaks between addresses as needed to restrict the line length to 72 characters. |
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 of this term. |
Methods in javax.mail.search with parameters of type Address | |
---|---|
protected boolean |
AddressStringTerm.match(Address address)
Tests if the patterm associated with this Term is a substring of the address in the supplied object. |
protected boolean |
AddressTerm.match(Address address)
Match to the supplied address. |
Constructors in javax.mail.search with parameters of type Address | |
---|---|
AddressTerm(Address address)
Constructor taking the address for this term. |
|
FromTerm(Address match)
|
|
RecipientTerm(Message.RecipientType type,
Address address)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |