Exemple #1
0
        public void processHeader()
        {
            (mlTo = new People()).parse(getHeaderValue("To", ""));
            (mlCC = new People()).parse(getHeaderValue("Cc", ""));
            (mlFrom = new People()).parse(getHeaderValue("From", ""));
            (mlReturnPath = new People()).parse(getHeaderValue("Return-Path", ""));
            (mlReferences = new People()).parse(getHeaderValue("References", ""));
            (mlInReplyTo = new People()).parse(getHeaderValue("In-Reply-To", ""));
            (mlMessageID = new People()).parse(getHeaderValue("Message-ID", ""));

            mlSubject                 = SubjectDecode.decode(getHeaderValue("Subject", ""));
            mlContentType             = new ContentTypeContainer(getHeaderValue("Content-Type", ""));
            mlContentTransferEncoding = new ContentTransferEncodingContainer(getHeaderValue("Content-Transfer-Encoding", ""));
            mlContentDisposition      = new ContentDispositionContainer(getHeaderValue("Content-Disposition", ""));
            mlDate = (getHeaderValue("Date", ""));
        }
Exemple #2
0
        public void processHeader() {
            (mlTo = new People()).parse(getHeaderValue("To", ""));
            (mlCC = new People()).parse(getHeaderValue("Cc", ""));
            (mlFrom = new People()).parse(getHeaderValue("From", ""));
            (mlReturnPath = new People()).parse(getHeaderValue("Return-Path", ""));
            (mlReferences = new People()).parse(getHeaderValue("References", ""));
            (mlInReplyTo = new People()).parse(getHeaderValue("In-Reply-To", ""));
            (mlMessageID = new People()).parse(getHeaderValue("Message-ID", ""));

            mlSubject = SubjectDecode.decode(getHeaderValue("Subject", ""));
            mlContentType = new ContentTypeContainer(getHeaderValue("Content-Type", ""));
            mlContentTransferEncoding = new ContentTransferEncodingContainer(getHeaderValue("Content-Transfer-Encoding", ""));
            mlContentDisposition = new ContentDispositionContainer(getHeaderValue("Content-Disposition", ""));
            mlDate = (getHeaderValue("Date", ""));
        }