Esempio n. 1
0
        /// <summary>
        /// Loads the basic information for the class
        /// </summary>
        private void Load()
        {
            Code Field = new CodeTypes.CodeBase();

            this["Subject"]             = Field;
            this["Comments"]            = Field;
            this["Content-Description"] = Field;

            Field                   = new CodeTypes.CodeAddress();
            this["From"]            = Field;
            this["To"]              = Field;
            this["Resent-To"]       = Field;
            this["Cc"]              = Field;
            this["Resent-Cc"]       = Field;
            this["Bcc"]             = Field;
            this["Resent-Bcc"]      = Field;
            this["Reply-To"]        = Field;
            this["Resent-Reply-To"] = Field;

            Field = new CodeTypes.CodeParameter();
            this["Content-Type"]        = Field;
            this["Content-Disposition"] = Field;

            Field        = new Code();
            this["7bit"] = Field;
            this["8bit"] = Field;

            Field          = new CodeTypes.CodeBase64();
            this["base64"] = Field;

            Field = new CodeTypes.CodeQP();
            this["quoted-printable"] = Field;
        }
Esempio n. 2
0
        /// <summary>
        /// Loads the basic information for the class
        /// </summary>
        private void Load()
        {
            Code Field = new CodeTypes.CodeBase();
            this["Subject"]= Field;
            this["Comments"]= Field;
            this["Content-Description"]= Field;

            Field = new CodeTypes.CodeAddress();
            this["From"]= Field;
            this["To"]= Field;
            this["Resent-To"]= Field;
            this["Cc"]= Field;
            this["Resent-Cc"]= Field;
            this["Bcc"]= Field;
            this["Resent-Bcc"]= Field;
            this["Reply-To"]= Field;
            this["Resent-Reply-To"]= Field;

            Field = new CodeTypes.CodeParameter();
            this["Content-Type"]= Field;
            this["Content-Disposition"]= Field;

            Field = new Code();
            this["7bit"]= Field;
            this["8bit"]= Field;

            Field = new CodeTypes.CodeBase64();
            this["base64"]= Field;

            Field = new CodeTypes.CodeQP();
            this["quoted-printable"]= Field;
        }