using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace QMFrameWork.Mail { /// /// 邮件发送配置信息 /// public class SmtpServerInfo { #region 构造函数 /// /// 构造函数 /// public SmtpServerInfo() { } /// /// 带参构造函数 /// /// 邮件服务器地址 /// 发送人登录名称 /// 发送人密码 /// 邮件服务器 /// 收件人邮箱 public SmtpServerInfo(string smtpServer, string senderUser, string senderPassword, string doMain, string SenderUserEmail) { this.SmtpServer = smtpServer; this.SenderUser = senderUser; this.SenderPassword = senderPassword; this.DoMain = doMain; this.SenderUserEmail = SenderUserEmail; } #endregion #region 邮件服务配置属性 /// /// 邮件服务器地址 /// public string SmtpServer { set; get; } /// /// 发送人登录名称 /// public string SenderUser { set; get; } /// /// 发送人密码 /// public string SenderPassword { set; get; } /// /// 邮件服务器 /// public string DoMain { set; get; } /// /// 收件人邮箱 /// public string SenderUserEmail { set; get; } #endregion } }