Ejemplo n.º 1
0
        public void Send(string email, string subject, string message)
        {
            //return Task.Run(() => {return 1;});

            var m = new SmtpMailer();

            m.Send(new SmtpMailer.SmtpSettings()
            {
                Host = "smtp.gmail.com",
                Username = "******",                                
                Password = "******",
                Port = 587
            }
                , "*****@*****.**"
                , email
                , subject
                , message);
        }
Ejemplo n.º 2
0
        public void Send(string email, string subject, string message)
        {
            //return Task.Run(() => {return 1;});

            var m = new SmtpMailer();

            m.Send(new SmtpMailer.SmtpSettings()
            {
                Host     = "smtp.gmail.com",
                Username = "******",
                Password = "******",
                Port     = 587
            }
                   , "*****@*****.**"
                   , email
                   , subject
                   , message);
        }