static void Main(string[] args) { var manager = new MailManager("*****@*****.**", "tfs4418000"); manager.GetMailMessage(); //manager.SendMail(new CreateMailModel() //{ // Body = "测试body", // Subject = "主题", // TargetMail = "*****@*****.**" //}); Console.ReadKey(); }