sendCommand method

Future<SmtpResponse> sendCommand(
  1. SmtpCommand command
)

Sends the command to the server

Implementation

Future<SmtpResponse> sendCommand(SmtpCommand command) {
  _currentCommand = command;
  writeText(command.command, command);

  return command.completer.future;
}