onConnectionEstablished method
Is called after the initial connection has been established
Implementation
@override
FutureOr<void> onConnectionEstablished(
ConnectionInfo connectionInfo,
String serverGreeting,
) {
// discard any partial reply of a previous connection
_uint8listReader.clear();
_pendingReplyLines.clear();
serverInfo = SmtpServerInfo(
connectionInfo.host,
connectionInfo.port,
isSecure: connectionInfo.isSecure,
);
log('SMTP: got server greeting $serverGreeting', initial: 'A');
}