public void SendWelcomeEmail() { EmailResult email = new Mailers.Account().Welcome(); WebSite.Helpers.Email.SendEmail(email, new List <User>() { this }); }
public void SendPasswordResetEmail(string unhashedNewPassword) { EmailResult email = new Mailers.Account().PasswordResetEmail(unhashedNewPassword); WebSite.Helpers.Email.SendEmail(email, new IEmailRecipient[] { this }); }