示例#1
0
 public void SendActivateCode(EmailSendingModel model)
 {
     if (String.IsNullOrEmpty(model.Title))
     {
         model.Title = "DBWorld工程云【DBWorld】密码找回";
     }
     SendEmail(ActivateEmailHost, ActivateEmail, ActivateDisplayName, ActivateUserName, ActivatePassword,
               model.MailTo, model.Title, model.Body, model.IsHtml, model.TextEncoding);
 }
示例#2
0
 public void SendForgotPasswordEmail(EmailSendingModel model)
 {
     if (String.IsNullOrEmpty(model.Title))
     {
         model.Title = "DBWorld工程云【DBWorld】找回密码";
     }
     SendEmail(PasswordEmailHost, PasswordEmail, PasswordDisplayName, PasswordUserName, PasswordPassword,
               model.MailTo, model.Title, model.Body, model.IsHtml, model.TextEncoding);
 }
示例#3
0
 public void SendInviteMemberEmail(EmailSendingModel model)
 {
     if (String.IsNullOrEmpty(model.Title))
     {
         model.Title = "DBWorld工程云【DBWorld】项目邀请";
     }
     SendEmail(InviteEmailHost, InviteEmail, InviteDisplayName, InviteUserName, InvitePassword,
               model.MailTo, model.Title, model.Body, model.IsHtml, model.TextEncoding);
 }