예제 #1
0
 /// <summary>
 /// 保存邮件配置信息
 /// </summary>
 public static void SaveEmailConfig(EmailConfigInfo emailConfigInfo)
 {
     lock (_locker)
     {
         if (_iconfigstrategy.SaveEmailConfig(emailConfigInfo))
         {
             _emailconfiginfo = null;
         }
     }
 }
예제 #2
0
 /// <summary>
 /// 保存邮件相关配置
 /// </summary>
 /// <param name="emailConfigInfo"></param>
 public static void SaveEmailConfig(EmailConfigInfo emailConfigInfo)
 {
     lock (_locker)
     {
         if (_configstrategy.SaveEmailConfig(emailConfigInfo))
         {
             _emailConfigInfo = emailConfigInfo;
         }
     }
 }