Error Event
Provides information about errors during SMTP operations.
Syntax
public class DefaultSmtpclientEventListener implements SmtpclientEventListener { ... public void error(SmtpclientErrorEvent e) {} ... } public class SmtpclientErrorEvent { public int errorCode; public String description; }
Remarks
This event is fired in case of exceptional conditions occured during SMTP operations.
ErrorCode contains an error code and Description contains a textual description of the error.