Ejemplo n.º 1
0
        public void SendWelcomeEmail()
        {
            EmailResult email = new Mailers.Account().Welcome();

            WebSite.Helpers.Email.SendEmail(email, new List <User>()
            {
                this
            });
        }
Ejemplo n.º 2
0
        public void SendPasswordResetEmail(string unhashedNewPassword)
        {
            EmailResult email = new Mailers.Account().PasswordResetEmail(unhashedNewPassword);

            WebSite.Helpers.Email.SendEmail(email, new IEmailRecipient[] { this });
        }