private static void DemoEMail() { Console.WriteLine("\ne-mail Demo"); try { IMailManager mailManager = DIHelper.DIManager.GetService <IMailManager>(); mailManager.Mail("*****@*****.**", "Subject", "<b>Body</b>", true); } catch (Exception exception) { WriteException(exception); } }