예제 #1
0
파일: Email.cs 프로젝트: yalunwang/family
 public void Mailinfo(ZKEShop.Common.MessageType messageType)
 {
     string userName = _userDal.UserName;
     string userEmail = _userDal.Email;
     messageKindDal = db.MessageKind.FirstOrDefault(o=>o.MessageKindID==(short)messageType);
     mailTemplateDal = messageKindDal.MailTemplate;
     string subject=mailTemplateDal.MailSubject;
     string content=mailTemplateDal.MailBody;
     SendOneMail(userEmail,subject,content,"");
 }
예제 #2
0
 partial void UpdateMailTemplate(MailTemplate instance);
예제 #3
0
 partial void DeleteMailTemplate(MailTemplate instance);
예제 #4
0
 partial void InsertMailTemplate(MailTemplate instance);