Example #1
0
        private void DoWork(object sender, DoWorkEventArgs e)
        {
            FileManager fmanager = new FileManager();
            fmanager.moveRunFiles();
            processContactsFiles();
            //------------------------------------------------

            FileflowControl fFlow = new FileflowControl();
            fFlow.checkFileStatus();

            MailManager mManager = new MailManager();
            mManager.checkReminders();
        }
Example #2
0
        public ActionResult sendMails()
        {
            // logger.addDataseLog(User.Identity.Name, "Initiated Sending of Email notifications to Customers");
            MailManager mailer = new MailManager();
            mailer.sendInitialNotification(1);

            return RedirectToAction("UnProcessedRequests");
        }