Exemplo n.º 1
0
        /// <summary>
        /// Default Constructor
        /// </summary>
        public IMAPMessage()
        {
            _to   = new List <IMAPMailAddress>();
            _from = new List <IMAPMailAddress>();
            _cc   = new List <IMAPMailAddress>();
            _bcc  = new List <IMAPMailAddress>();

            _textData  = new IMAPMessageContent();
            _htmlData  = new IMAPMessageContent();
            _bodyParts = new List <IMAPMessageContent>();

            _received = String.Empty;

            _attachments = new List <IMAPFileAttachment>();
            _embedded    = new List <IMAPFileAttachment>();

            _headerLoaded  = false;
            _contentLoaded = false;

            _flags = new IMAPMessageFlags();

            _properties = this.GetType().GetProperties();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Default Constructor
        /// </summary>
        public IMAPMessage()
        {
            _to = new List<IMAPMailAddress>();
            _from = new List<IMAPMailAddress>();
            _cc = new List<IMAPMailAddress>();
            _bcc = new List<IMAPMailAddress>();

            _textData = new IMAPMessageContent();
            _htmlData = new IMAPMessageContent();
            _bodyParts = new List<IMAPMessageContent>();

            _received = String.Empty;

            _attachments = new List<IMAPFileAttachment>();
            _embedded = new List<IMAPFileAttachment>();

            _headerLoaded = false;
            _contentLoaded = false;

            _flags = new IMAPMessageFlags();

            _properties = this.GetType().GetProperties();
        }