コード例 #1
0
 private MailPriority _Priority;       //邮件优先级
 public MailMessage()
 {
     _Recipients  = new ArrayList();       //收件人列表
     _Attachments = new MailAttachments(); //附件
     _BodyFormat  = MailFormat.HTML;       //缺省的邮件格式为HTML
     _Priority    = MailPriority.Normal;
     _Charset     = "GB2312";
 }
コード例 #2
0
        private string _Subject; //主题

        #endregion Fields

        #region Constructors

        public MailMessage()
        {
            _Recipients = new ArrayList();//收件人列表
            _Attachments = new MailAttachments();//附件
            _BodyFormat = MailFormat.HTML;//缺省的邮件格式为HTML
            _Priority = MailPriority.Normal;
            _Charset = "GB2312";
        }