Name

javax.mail.event.TransportEvent — This event notifies Listeners upon Transport changes.

Synopsis

public class TransportEvent extends MailEvent {
    // Public Constructor
         public TransportEvent(Transport transport, int type, Address[] validSent, 
Address[] validUnsent, Address[] invalid, Message msg);
    // Public Variables
            public static final int MESSAGE_DELIVERED;
            public static final int MESSAGE_NoT_DELIVERED;
            public static final int MESSAGE_PARTIALLY_DELIVERED;
    // Protected Variables
            protected int type;
            protected Address[] validSent;
            protected Address[] validUnsent;
            protected Address[] invalid;
            protected Message msg;
    // Public Methods
            public int getType();
            public Address[] getValidSentAddresses();
            public Address[] getValidUnsentAddresses();
            public Address[] getInvalidAddresses();
            public void dispatch (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.