예제 #1
0
 //发送邮件
 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);
 }
예제 #2
0
 //发送邮件
 private void SendEmailForFindPassword(string loginId, string loginMail)
 {
     BLL.CheckEmailBll bll = new BLL.CheckEmailBll();
     
 }