using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CY.Infrastructure.Mail { #region 定制发送邮件的插件属性值 /// /// 定制发送邮件的插件属性值 /// [AttributeUsage(AttributeTargets.All)] public class SmtpEmailAttribute : System.Attribute { private string _plugInName; private string _version = null; private string _author = null; private string _dllFileName = null; public SmtpEmailAttribute(string Name) : base() { _plugInName = Name; return; } /// /// 插件名称 /// public string PlugInName { get { return _plugInName; } set { _plugInName = value; } } /// /// 版本 /// public string Version { get { return _version; } set { _version = value; } } /// /// 作者 /// public string Author { get { return _author; } set { _author = value; } } /// /// DLL 文件名称 /// public string DllFileName { get { return _dllFileName; } set { _dllFileName = value; } } } #endregion }