Message-ID: <392366A7.21929EA7@example.com>
Date: Wed, 17 May 2000 23:42:31 -0400
From: Doug Sauder <dwsauder@example.com>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Joe Blow <blow@example.com>
Subject: Test message from Netscape Communicator 4.7
Content-Type: multipart/mixed;
 boundary="------------E7889DDF0F75D34163841C59"

This is a multi-part message in MIME format.
--------------E7889DDF0F75D34163841C59
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

 
--------------E7889DDF0F75D34163841C59
Content-Type: image/png;
 name="blueball.png"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="blueball.png"

iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgA
AAAACCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQ
MZQAGFIQMYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYY
QsYQMaUAACHO5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9K
e+8YOaUYSsaMvee15++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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IFBpZ3VldDZzO7wAAAAASUVORK5CYII=
--------------E7889DDF0F75D34163841C59--


---- EXPECTED STRUCTURE ----
{
  "header": {
    "date": {
      "year": 2000,
      "month": 5,
      "day": 17,
      "hour": 23,
      "minute": 42,
      "second": 31,
      "tz_before_gmt": true,
      "tz_hour": 4,
      "tz_minute": 0
    },
    "from": {
      "Address": {
        "name": "Doug Sauder",
        "address": "dwsauder@example.com"
      }
    },
    "message_id": "392366A7.21929EA7@example.com",
    "mime_version": "1.0",
    "subject": "Test message from Netscape Communicator 4.7",
    "to": {
      "Address": {
        "name": "Joe Blow",
        "address": "blow@example.com"
      }
    },
    "content_type": {
      "c_type": "multipart",
      "c_subtype": "mixed",
      "attributes": {
        "boundary": "------------E7889DDF0F75D34163841C59"
      }
    },
    "others": {
      "X-Mailer": [
        "Mozilla 4.7 [en] (WinNT; I)"
      ],
      "X-Accept-Language": [
        "en"
      ]
    }
  },
  "html_body": [
    {
      "contents": "<html><body> </body></html>"
    },
    0
  ],
  "text_body": [
    {
      "header": {
        "content_transfer_encoding": "7bit",
        "content_type": {
          "c_type": "text",
          "c_subtype": "plain",
          "attributes": {
            "charset": "us-ascii"
          }
        }
      },
      "contents": " \r"
    },
    0
  ],
  "attachments": [
    {
      "InlineBinary": {
        "header": {
          "content_disposition": {
            "c_type": "inline",
            "attributes": {
              "filename": "blueball.png"
            }
          },
          "content_transfer_encoding": "base64",
          "content_type": {
            "c_type": "image",
            "c_subtype": "png",
            "attributes": {
              "name": "blueball.png"
            }
          }
        },
        "contents": [
          137,
          80,
          78,
          71,
          13,
          10,
          26,
          10,
          0,
          0,
          0,
          13,
          73,
          72,
          68,
          82,
          0,
          0,
          0,
          27,
          0,
          0,
          0,
          27,
          8,
          3,
          0,
          0,
          0,
          186,
          10,
          4,
          103,
          0,
          0,
          3,
          0,
          80,
          76,
          84,
          69,
          255,
          255,
          255,
          0,
          0,
          8,
          0,
          0,
          16,
          0,
          0,
          24,
          0,
          0,
          0,
          0,
          8,
          41,
          0,
          16,
          66,
          0,
          16,
          74,
          0,
          8,
          49,
          0,
          16,
          82,
          8,
          33,
          115,
          8,
          41,
          123,
          8,
          41,
          132,
          8,
          33,
          107,
          0,
          24,
          90,
          0,
          8,
          57,
          8,
          33,
          99,
          16,
          57,
          156,
          24,
          66,
          165,
          24,
          66,
          173,
          24,
          66,
          181,
          16,
          57,
          165,
          16,
          49,
          148,
          0,
          24,
          82,
          16,
          49,
          140,
          41,
          82,
          181,
          57,
          99,
          198,
          57,
          99,
          206,
          41,
          90,
          206,
          24,
          74,
          206,
          24,
          66,
          206,
          24,
          66,
          189,
          66,
          107,
          198,
          123,
          156,
          214,
          156,
          189,
          222,
          140,
          181,
          222,
          99,
          148,
          231,
          49,
          107,
          222,
          33,
          82,
          222,
          24,
          74,
          214,
          24,
          66,
          198,
          16,
          49,
          165,
          0,
          0,
          33,
          206,
          231,
          239,
          231,
          239,
          239,
          156,
          198,
          239,
          82,
          132,
          239,
          41,
          90,
          231,
          16,
          57,
          173,
          74,
          123,
          206,
          173,
          206,
          222,
          165,
          206,
          239,
          90,
          140,
          239,
          16,
          49,
          156,
          90,
          132,
          214,
          173,
          214,
          231,
          206,
          239,
          239,
          140,
          189,
          239,
          74,
          123,
          239,
          24,
          57,
          165,
          24,
          74,
          198,
          140,
          189,
          231,
          181,
          231,
          239,
          148,
          189,
          239,
          0,
          0,
          41,
          90,
          140,
          231,
          115,
          165,
          239,
          107,
          156,
          239,
          8,
          41,
          140,
          49,
          99,
          239,
          41,
          90,
          239,
          8,
          33,
          123,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          193,
          50,
          13,
          85,
          0,
          0,
          0,
          1,
          116,
          82,
          78,
          83,
          0,
          64,
          230,
          216,
          102,
          0,
          0,
          0,
          22,
          116,
          69,
          88,
          116,
          83,
          111,
          102,
          116,
          119,
          97,
          114,
          101,
          0,
          103,
          105,
          102,
          50,
          112,
          110,
          103,
          32,
          50,
          46,
          48,
          46,
          49,
          61,
          94,
          190,
          104,
          0,
          0,
          1,
          136,
          73,
          68,
          65,
          84,
          120,
          156,
          117,
          210,
          109,
          87,
          155,
          48,
          24,
          6,
          224,
          18,
          78,
          128,
          38,
          16,
          82,
          147,
          134,
          204,
          9,
          76,
          167,
          5,
          34,
          218,
          170,
          139,
          219,
          172,
          111,
          219,
          124,
          249,
          255,
          191,
          40,
          123,
          210,
          86,
          236,
          177,
          199,
          155,
          47,
          156,
          115,
          157,
          59,
          33,
          228,
          25,
          141,
          134,
          4,
          40,
          68,
          40,
          112,
          163,
          157,
          4,
          56,
          138,
          33,
          81,
          130,
          195,
          143,
          140,
          199,
          132,
          166,
          16,
          146,
          177,
          40,
          65,
          219,
          232,
          114,
          78,
          39,
          123,
          66,
          10,
          49,
          85,
          41,
          41,
          146,
          208,
          13,
          234,
          146,
          76,
          139,
          47,
          251,
          95,
          15,
          202,
          170,
          150,
          83,
          13,
          136,
          6,
          196,
          76,
          239,
          125,
          59,
          60,
          250,
          126,
          124,
          50,
          107,
          90,
          217,
          233,
          44,
          50,
          111,
          123,
          6,
          49,
          157,
          236,
          31,
          158,
          246,
          167,
          103,
          231,
          243,
          166,
          108,
          23,
          138,
          48,
          188,
          41,
          186,
          132,
          107,
          113,
          113,
          217,
          247,
          253,
          213,
          143,
          121,
          83,
          213,
          194,
          82,
          150,
          131,
          121,
          12,
          34,
          50,
          145,
          215,
          63,
          251,
          254,
          215,
          239,
          155,
          89,
          83,
          214,
          66,
          129,
          133,
          107,
          11,
          99,
          186,
          188,
          189,
          190,
          187,
          191,
          127,
          240,
          181,
          86,
          46,
          222,
          205,
          61,
          22,
          90,
          148,
          7,
          127,
          254,
          254,
          187,
          241,
          187,
          213,
          162,
          211,
          132,
          175,
          204,
          141,
          28,
          102,
          79,
          162,
          157,
          205,
          159,
          95,
          26,
          79,
          114,
          106,
          211,
          44,
          78,
          6,
          75,
          151,
          117,
          213,
          128,
          84,
          64,
          11,
          171,
          41,
          143,
          253,
          119,
          122,
          123,
          44,
          168,
          149,
          109,
          89,
          86,
          183,
          53,
          208,
          82,
          105,
          194,
          252,
          249,
          86,
          102,
          98,
          162,
          166,
          117,
          221,
          66,
          73,
          138,
          14,
          136,
          195,
          146,
          27,
          11,
          115,
          150,
          170,
          165,
          20,
          82,
          46,
          58,
          171,
          244,
          107,
          86,
          68,
          102,
          181,
          36,
          88,
          128,
          139,
          44,
          85,
          182,
          235,
          172,
          181,
          42,
          245,
          132,
          215,
          53,
          127,
          136,
          48,
          7,
          212,
          74,
          41,
          157,
          82,
          194,
          139,
          40,
          25,
          8,
          138,
          38,
          31,
          115,
          66,
          41,
          125,
          37,
          156,
          143,
          129,
          214,
          43,
          174,
          204,
          33,
          147,
          199,
          5,
          227,
          156,
          51,
          184,
          119,
          179,
          105,
          109,
          126,
          54,
          96,
          146,
          71,
          144,
          28,
          38,
          2,
          109,
          147,
          199,
          0,
          25,
          131,
          141,
          9,
          223,
          229,
          237,
          110,
          253,
          107,
          128,
          224,
          25,
          192,
          109,
          13,
          197,
          110,
          182,
          167,
          233,
          83,
          249,
          136,
          187,
          227,
          187,
          3,
          255,
          1,
          20,
          84,
          204,
          216,
          153,
          105,
          14,
          191,
          0,
          0,
          0,
          37,
          116,
          69,
          88,
          116,
          67,
          111,
          109,
          109,
          101,
          110,
          116,
          0,
          99,
          108,
          105,
          112,
          50,
          103,
          105,
          102,
          32,
          118,
          46,
          48,
          46,
          54,
          32,
          98,
          121,
          32,
          89,
          118,
          101,
          115,
          32,
          80,
          105,
          103,
          117,
          101,
          116,
          54,
          115,
          59,
          188,
          0,
          0,
          0,
          0,
          73,
          69,
          78,
          68,
          174,
          66,
          96,
          130
        ]
      }
    }
  ]
}