internal static IMailingService GetMailingService() { string from = ConfigurationManager.AppSettings["mailFrom"]; string password = ConfigurationManager.AppSettings["mailPass"]; string host = ConfigurationManager.AppSettings["mailHost"]; IMailingService mailingService = new MailingService(from, password, host); mailingService.IgnoreQueue(); return(mailingService); }
public BLL_MailingService_Test() { _service = new MailingService("*****@*****.**", "superPass", "smtp.gmail.com"); _service.IgnoreQueue(); }