public static bool SendAlertEmail(string aSubject, string aBody)
        {
            var lEmailModel = new EmailModel(aSubject, aBody);

            //async method
            return(BatchEmailService.ProcessEmail(lEmailModel));
        }
        public static bool SendAlertEmail(string aFrom, string aToList, string aSubject, string aBody, string aServer, int aPort, string aUsername, string aPassword, bool aUseSSL, string aCertFile = null)
        {
            var lEmailModel = new EmailModel(aFrom, aToList, aSubject, aBody, aServer, aPort, aUsername, aPassword, aUseSSL, aCertFile);

            //sync method
            return(BatchEmailService.ProcessEmail(lEmailModel));
        }