예제 #1
0
        public EmailMessage(string uid, Chilkat.Email msg)
        {
            _toAddr   = msg.GetTo(0);
            _fromAddr = msg.From.ToString();
            _bcc      = "";

            for (int i = 0; i <= msg.NumCC - 1; i++)
            {
                _bcc += msg.GetCC(i) + " ";
            }
            _subject      = msg.Subject;
            _receiveDate  = msg.EmailDate;
            _filename     = null;
            _message      = msg.GetPlainTextBody();
            _UID          = msg.Uidl;
            _emailMessage = msg;
        }