예제 #1
0
파일: Form1.cs 프로젝트: JesseClarkND/tools
        private static void SendEmail(string subject, string body)
        {
            var fromAddress = new MailAddress("*****@*****.**", Settings.ServerName);
            var toAddress   = new MailAddress("*****@*****.**", "To Name");

            MailGun.Blast(subject, body, fromAddress, toAddress, Settings.EmailPassword);
        }