connect method

Future<void> connect()

Connects and authenticates with the specified incoming mail server.

Also compare disconnect.

Implementation

Future<void> connect() async {
  await _incomingMailClient.connect();
  _isConnected = true;
}