Beispiel #1
0
        public void SendOutMidNightEmails()
        {
            Console.WriteLine("Executing Job: Mid night emails");
            var emailTask = _notificationService.SendEmail("*****@*****.**", "Scheduler Researcher", "", "Test Email without tracker. It is wise to have this tracked by mail client like SendGrid & use sendgrid api to analyze the read or unread emails", GetRecepientList(), "Test Email");

            emailTask.GetAwaiter().GetResult();
            Console.WriteLine("Completing Job: Mid night emails");
        }