| java.lang.Object | |||
| ↳ | java.util.EventObject | ||
| ↳ | com.google.code.javax.mail.event.MailEvent | ||
| ↳ | com.google.code.javax.mail.event.TransportEvent | ||
This class models Transport events.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | MESSAGE_DELIVERED | Message has been successfully delivered to all recipients by the transport firing this event. | |||||||||
| int | MESSAGE_NOT_DELIVERED | Message was not sent for some reason. | |||||||||
| int | MESSAGE_PARTIALLY_DELIVERED | Message was successfully sent to some recipients but not to all. | |||||||||
| long | serialVersionUID | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.event.MailEvent
| |||||||||||
From class
java.util.EventObject
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| invalid | |||||||||||
| msg | |||||||||||
| type | The event type. | ||||||||||
| validSent | |||||||||||
| validUnsent | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.EventObject
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Invokes the appropriate TransportListener method.
| |||||||||||
Return the addresses to which this message could not be sent.
| |||||||||||
Get the Message object associated with this Transport Event.
| |||||||||||
Return the type of this event.
| |||||||||||
Return the addresses to which this message was sent succesfully.
| |||||||||||
Return the addresses that are valid but to which this message
was not sent.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.event.MailEvent
| |||||||||||
From class
java.util.EventObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
Message has been successfully delivered to all recipients by the transport firing this event. validSent[] contains all the addresses this transport sent to successfully. validUnsent[] and invalid[] should be null,
Message was not sent for some reason. validSent[] should be null. validUnsent[] may have addresses that are valid (but the message wasn't sent to them). invalid[] should likely contain invalid addresses.
Message was successfully sent to some recipients but not to all. validSent[] holds addresses of recipients to whom the message was sent. validUnsent[] holds valid addresses to which the message was not sent. invalid[] holds invalid addresses, if any.
The event type.
Constructor.
| transport | The Transport object |
|---|---|
| type | |
| validSent | |
| validUnsent | |
| invalid | |
| msg |
Invokes the appropriate TransportListener method.
| listener |
|---|
Return the addresses to which this message could not be sent.
Get the Message object associated with this Transport Event.
Return the type of this event.
Return the addresses to which this message was sent succesfully.
Return the addresses that are valid but to which this message was not sent.