Ejemplo n.º 1
0
        private async Task SendCommandResult(SmtpCommandReply commandResult)
        {
            if (commandResult == null)
            {
                throw new ArgumentException("commandResult");
            }

            var message = $"{commandResult.Code} {commandResult.Message}";

            await SendLine(message);
        }
 private async Task SendCommandResult(SmtpCommandReply commandResult)
 {
     if (commandResult == null)
         throw new ArgumentException("commandResult");
     
     var message = $"{commandResult.Code} {commandResult.Message}";
     await SendLine(message);
 }