public void SendMail()
 {
     using (configurator = MailerClientConfigurator.CreateSmtp()){
         if (this.AttachFiles.Count > 0)
         {
             foreach (string file in this.AttachFiles)
             {
                 configurator.AddAttachFile(file);
             }
         }
         ConfigureEmail(configurator);
         configurator.ClientSmtp.SendMailAsync(configurator.GetMessage(MessageBody));
     }
 }
 private void ConfigureEmail(MailerClientConfigurator configurator)
 {
     configurator.EmailTo = Email;
     configurator.UserTo  = UserEmail;
     configurator.Subject = Subject;
 }