commonmailserverconfig.cs

来自「动易SiteFactory&#8482 网上商店系统1.0源代码」· CS 代码 · 共 103 行

CS
103
字号
namespace PowerEasy.WebSite.Admin.Accessories
{
    using PowerEasy.Enumerations;
    using System;

    [Serializable]
    public class CommonMailServerConfig
    {
        private PowerEasy.Enumerations.AuthenticationType m_AuthenticationType;
        private bool m_EnabledSsl;
        private string m_MailFrom;
        private string m_MailServer;
        private string m_MailServerPassWord;
        private string m_MailServerUserName;
        private int m_Port;

        public PowerEasy.Enumerations.AuthenticationType AuthenticationType
        {
            get
            {
                return this.m_AuthenticationType;
            }
            set
            {
                this.m_AuthenticationType = value;
            }
        }

        public bool EnabledSsl
        {
            get
            {
                return this.m_EnabledSsl;
            }
            set
            {
                this.m_EnabledSsl = value;
            }
        }

        public string MailFrom
        {
            get
            {
                return this.m_MailFrom;
            }
            set
            {
                this.m_MailFrom = value;
            }
        }

        public string MailServer
        {
            get
            {
                return this.m_MailServer;
            }
            set
            {
                this.m_MailServer = value;
            }
        }

        public string MailServerPassWord
        {
            get
            {
                return this.m_MailServerPassWord;
            }
            set
            {
                this.m_MailServerPassWord = value;
            }
        }

        public string MailServerUserName
        {
            get
            {
                return this.m_MailServerUserName;
            }
            set
            {
                this.m_MailServerUserName = value;
            }
        }

        public int Port
        {
            get
            {
                return this.m_Port;
            }
            set
            {
                this.m_Port = value;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?