Example #1
0
 /// <summary>
 /// 初始化邮件服务配置
 /// </summary>
 /// <param name="config">邮件服务设置</param>
 public void Init(EmailServiceSettings config)
 {
     this.Settings = config;
 }
Example #2
0
 /// <summary>
 /// 初始化一个<see cref="EmailService"/>类型的实例
 /// </summary>
 /// <param name="settings">邮件服务设置</param>
 public EmailService(EmailServiceSettings settings)
 {
     Init(settings);
 }