username@email.com
2025-05-21 a980cd04341d71216e0f59bd4b7327fe9fc50032
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace CY.Infrastructure.Mail
{
    #region 定制发送邮件的插件属性值
 
    /// <summary>
    /// 定制发送邮件的插件属性值
    /// </summary>
    [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;
        }
 
        /// <summary>
        /// 插件名称
        /// </summary>
        public string PlugInName
        {
            get { return _plugInName; }
            set { _plugInName = value; }
        }
 
        /// <summary>
        /// 版本
        /// </summary>
        public string Version
        {
            get { return _version; }
            set { _version = value; }
        }
 
        /// <summary>
        /// 作者
        /// </summary>
        public string Author
        {
            get { return _author; }
            set { _author = value; }
        }
 
        /// <summary>
        /// DLL 文件名称
        /// </summary>
        public string DllFileName
        {
            get { return _dllFileName; }
            set { _dllFileName = value; }
        }
    }
    #endregion
}