Example #1
0
 /// <summary>
 /// 保存邮件配置
 /// </summary>
 /// <param name="input"></param>
 public void SaveEmail(SaveEmailInput input)
 {
     ConfigHelper.Custom.Mail.From = input.MailFrom;
     ConfigHelper.Custom.Mail.Pwd  = input.MailPwd;
     ConfigHelper.Custom.Mail.Host = input.MailHost;
     ConfigHelper.Sava();
 }
Example #2
0
 /// <summary>
 /// 保存邮件配置
 /// </summary>
 /// <param name="input"></param>
 public void SaveEmail(SaveEmailInput input)
 {
     appclication.SaveEmail(input);
 }