Error Event
Provides information about errors during SMTP operations.
Syntax
public open class DefaultSmtpclientEventListener : SmtpclientEventListener { ... public override fun error(e: SmtpclientErrorEvent) {} ... } public class SmtpclientErrorEvent { val errorCode: Int val description: String? }
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.