onConnectionError method
Is called when the connection encountered an error
Implementation
@override
void onConnectionError(dynamic error) {
_eventController
..add(SmtpConnectionLostEvent(this))
..close();
}
Is called when the connection encountered an error
@override
void onConnectionError(dynamic error) {
_eventController
..add(SmtpConnectionLostEvent(this))
..close();
}