Exemplo n.º 1
0
        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);
        }