Пример #1
0
 public static void SendAsync(EmailCredential credential, EmailHelperModel model)
 {
     using (EmailHelper emailHelper = new EmailHelper(credential))
     {
         emailHelper.SendAsync(model);
     }
 }
Пример #2
0
 public void SendAsync(EmailHelperModel model)
 {
     sendCompletedCallbackEvent += model.SendCompletedCallbackEvent;
     SendAsync(model.SenderEmail, model.SenderName, model.ToList, model.CCList, model.Title, model.AttachedFiles, model.Content, model.IsBodyHtml, model.CallbackData);
 }