Beispiel #1
0
		private void InitialCode()
		{
			MimeCode aFieldCode = new MimeFieldCodeBase();
			SetCode("Subject", aFieldCode);
			SetCode("Comments", aFieldCode);
			SetCode("Content-Description", aFieldCode);

			aFieldCode = new MimeFieldCodeAddress();
			SetCode("From", aFieldCode);
			SetCode("To", aFieldCode);
			SetCode("Resent-To", aFieldCode);
			SetCode("Cc", aFieldCode);
			SetCode("Resent-Cc", aFieldCode);
			SetCode("Bcc", aFieldCode);
			SetCode("Resent-Bcc", aFieldCode);
			SetCode("Reply-To", aFieldCode);
			SetCode("Resent-Reply-To", aFieldCode);
			
			aFieldCode = new MimeFieldCodeParameter();
			SetCode("Content-Type", aFieldCode);
			SetCode("Content-Disposition", aFieldCode);

			MimeCode aCode = new MimeCode();
			SetCode("7bit", aCode);
			
			SetCode("8bit", aCode);

			aCode = new MimeCodeBase64();
			SetCode("base64", aCode);

			aCode = new MimeCodeQP();
			SetCode("quoted-printable", aCode);

		}
Beispiel #2
0
        private void InitialCode()
        {
            MimeCode aFieldCode = new MimeFieldCodeBase();

            SetCode("Subject", aFieldCode);
            SetCode("Comments", aFieldCode);
            SetCode("Content-Description", aFieldCode);

            aFieldCode = new MimeFieldCodeAddress();
            SetCode("From", aFieldCode);
            SetCode("To", aFieldCode);
            SetCode("Resent-To", aFieldCode);
            SetCode("Cc", aFieldCode);
            SetCode("Resent-Cc", aFieldCode);
            SetCode("Bcc", aFieldCode);
            SetCode("Resent-Bcc", aFieldCode);
            SetCode("Reply-To", aFieldCode);
            SetCode("Resent-Reply-To", aFieldCode);

            aFieldCode = new MimeFieldCodeParameter();
            SetCode("Content-Type", aFieldCode);
            SetCode("Content-Disposition", aFieldCode);

            MimeCode aCode = new MimeCode();

            SetCode("7bit", aCode);

            SetCode("8bit", aCode);

            aCode = new MimeCodeBase64();
            SetCode("base64", aCode);

            aCode = new MimeCodeQP();
            SetCode("quoted-printable", aCode);
        }