//发送邮件 private void SendEmailToUser(Model.Users user) { Model.CheckEmail ce = new Model.CheckEmail(); ce.ActiveCode = Guid.NewGuid().ToString(); ce.Actived = false; ce.UserId = user.Id; BLL.CheckEmailBll bll = new BLL.CheckEmailBll(); bll.Add(ce); bll.SendMailToUser(user, ce.ActiveCode); }
//发送邮件 private void SendEmailForFindPassword(string loginId, string loginMail) { BLL.CheckEmailBll bll = new BLL.CheckEmailBll(); }