public void Send(SmsPayload payload)
        {
            var emailService = new SMTPEmailService(ServerAddress, ServerPort, ServerLogin, ServerPassword, ServerUseSsl, ServerDefaultFrom);
            var pl           = payload.AsEmailPayload();

            emailService.Send(pl);
        }
 public async Task SendAsync(SmsPayload payload)
 {
     var emailService = new SMTPEmailService(ServerAddress, ServerPort, ServerLogin, ServerPassword, ServerUseSsl, ServerDefaultFrom);
     var pl           = payload.AsEmailPayload();
     await emailService.SendAsync(pl);
 }