public void SendAdministratorProductQuote(ProductQuote productQuote) { if (productQuote == null) { throw new ArgumentNullException("productQuote"); } string productQuotePDF = productQuote.ExpressCalc ? productQuote.ProductQuoteSmallPDF : productQuote.ProductQuotePDF; EmailAccount emailAccount = emailAccountRepository.FindEmailAccountsDefaultAsync(); var emails = adminUserRepository.GetAdminUsersEmails(); foreach (var email in emails) { Thread senderMail = new Thread(delegate() { emailManager.SendEmail(emailAccount, emailAccount.Email, emailAccount.DisplayName, email, email, "", "Cotización On-Line de Producto - " + productQuote.ProductQuoteCode, CreateBody(productQuote), CommonHelper.MapPath("~/Documents/Export"), productQuotePDF); }); senderMail.IsBackground = true; senderMail.Start(); } }