예제 #1
0
 private static async Task <IResult> ValidateAsync(Smtp smtp)
 {
     return(GetResult(await new SmtpValidator().ValidateAsync(smtp)));
 }
예제 #2
0
 public EmailService(AppSettings appSettings)
 {
     _smtp = appSettings.Smtp;
 }