Name
javax.mail.event.TransportEvent — This event notifies Listeners
upon
Transport
changes.
Synopsis
public classTransportEvent
extends MailEvent { // Public Constructor publicTransportEvent
(Transport transport, int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg); // Public Variables public static final intMESSAGE_DELIVERED;
public static final intMESSAGE_NoT_DELIVERED;
public static final intMESSAGE_PARTIALLY_DELIVERED;
// Protected Variables protected inttype;
protected Address[]validSent;
protected Address[]validUnsent;
protected Address[]invalid;
protected Messagemsg;
// Public Methods public intgetType
(); public Address[]getValidSentAddresses
(); public Address[]getValidUnsentAddresses
(); public Address[]getInvalidAddresses
(); public voiddispatch
(java.lang.Object listener); }
Hierarchy
java.lang.Object→java.util.EventObject→javax.mail.event.MailEvent→javax. mail.event.TransportEvent
Get Programming Internet Email now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.