using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace COMCMS.Core.Models { /// /// STMP配置 /// public class SMTPConfigEntity { public SMTPConfigEntity() { } #region Model private string _smtpemail = string.Empty; private string _smtphost = string.Empty; private string _smtpprot = "25"; private string _smtpemailpwd = string.Empty; private string _postusername = string.Empty; private int _siteid = 0; /// /// 网站ID /// public int SiteId { get { return _siteid; } set { _siteid = value; } } /// /// SMTP Email 帐号 /// public string SmtpEmail { set { _smtpemail = value; } get { return _smtpemail; } } /// /// SMTP 服务器 /// public string SmtpHost { set { _smtphost = value; } get { return _smtphost; } } /// /// SMTP 服务器端口 /// public string SmtpProt { set { _smtpprot = value; } get { return _smtpprot; } } /// /// SMTP Email 密码 /// public string SmtpEmailPwd { set { _smtpemailpwd = value; } get { return _smtpemailpwd; } } /// /// 发信人 /// public string PostUserName { set { _postusername = value; } get { return _postusername; } } #endregion Model } }