Event types

Top  Previous  Next

The Smtp class is the source for several SMTP related events.  All events may be captured by registering your class as a listener by implementing the SmtpListener class or subclassing the SmtpAdapter class.  These events are described below.

 

Event

Description

SmtpConnectedEvent

The SmtpConnectedEvent is published by the Smtp instance once a connection to the SMTP server has been established. See JavaDoc for details on this event.

SmtpDisconnectedEvent

The SmtpDisconnectedEvent is published by the Smtp instance once the connection to the SMTP server has been released. See JavaDoc for details on this event.

SmtpCommandEvent

The SmtpCommandEvent is published by the Smtp instance for each command sent to the SMTP server. See JavaDoc for details on this event.

SmtpResponseEvent

The SmtpResponseEvent is published by the Smtp instance for each response received from

the SMTP server. See JavaDoc for details on this event.





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC