Date: Fri, 19 May 2000 10:26:12 -0400 (EDT)
From: Doug Sauder <doug@penguin.example.com>
To: Joe Blow <blow@example.com>, 
    =?iso-8859-1?Q?Heinz_M=FCller?= <mueller@example.com>
Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Fr=F6sche?=
Message-ID: <Pine.LNX.4.21.0005191024380.8452-200000@penguin.example.com>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="-1463757054-891160829-958746372=:8452"

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---1463757054-891160829-958746372=:8452
Content-Type: TEXT/PLAIN; charset=US-ASCII


---1463757054-891160829-958746372=:8452
Content-Type: TEXT/PLAIN; charset=iso-8859-1; name*="iso-8859-1''HasenundFr%F6sche.txt"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.21.0005191026120.8452@penguin.example.com>
Content-Description: Short story in German
Content-Disposition: attachment; filename*="iso-8859-1''HasenundFr%F6sche.txt"

RGllIEhhc2VuIHVuZCBkaWUgRnL2c2NoZQ0NCg0NCkRpZSBIYXNlbiBrbGFn
dGVuIGVpbnN0IPxiZXIgaWhyZSBtad9saWNoZSBMYWdlOyAid2lyIGxlYmVu
Iiwgc3ByYWNoIGVpbiBSZWRuZXIsICJpbiBzdGV0ZXIgRnVyY2h0IHZvciBN
ZW5zY2hlbiB1bmQgVGllcmVuLCBlaW5lIEJldXRlIGRlciBIdW5kZSwgZGVy
IEFkbGVyLCBqYSBmYXN0IGFsbGVyIFJhdWJ0aWVyZSEgVW5zZXJlIHN0ZXRl
IEFuZ3N0IGlzdCDkcmdlciBhbHMgZGVyIFRvZCBzZWxic3QuIEF1ZiwgbGHf
dCB1bnMgZWluIGb8ciBhbGxlbWFsIHN0ZXJiZW4uIiANDQoNDQpJbiBlaW5l
bSBuYWhlbiBUZWljaCB3b2xsdGVuIHNpZSBzaWNoIG51biBlcnPkdWZlbjsg
c2llIGVpbHRlbiBpaG0genU7IGFsbGVpbiBkYXMgYXXfZXJvcmRlbnRsaWNo
ZSBHZXT2c2UgdW5kIGlocmUgd3VuZGVyYmFyZSBHZXN0YWx0IGVyc2NocmVj
a3RlIGVpbmUgTWVuZ2UgRnL2c2NoZSwgZGllIGFtIFVmZXIgc2HfZW4sIHNv
IHNlaHIsIGRh3yBzaWUgYXVmcyBzY2huZWxsc3RlIHVudGVydGF1Y2h0ZW4u
IA0NCg0NCiJIYWx0IiwgcmllZiBudW4gZWJlbiBkaWVzZXIgU3ByZWNoZXIs
ICJ3aXIgd29sbGVuIGRhcyBFcnPkdWZlbiBub2NoIGVpbiB3ZW5pZyBhdWZz
Y2hpZWJlbiwgZGVubiBhdWNoIHVucyBm/HJjaHRlbiwgd2llIGlociBzZWh0
LCBlaW5pZ2UgVGllcmUsIHdlbGNoZSBhbHNvIHdvaGwgbm9jaCB1bmds/GNr
bGljaGVyIHNlaW4gbfxzc2VuIGFscyB3aXIuIiANDQoNDQo=
---1463757054-891160829-958746372=:8452--

---- EXPECTED STRUCTURE ----
{
  "headers": {
    "content_type": {
      "ContentType": {
        "c_type": "multipart",
        "c_subtype": "mixed",
        "attributes": {
          "boundary": "-1463757054-891160829-958746372=:8452"
        }
      }
    },
    "from": {
      "Address": {
        "name": "Doug Sauder",
        "address": "doug@penguin.example.com"
      }
    },
    "message_id": {
      "Text": "Pine.LNX.4.21.0005191024380.8452-200000@penguin.example.com"
    },
    "subject": {
      "Text": "Die Hasen und die Frösche"
    },
    "to": {
      "AddressList": [
        {
          "name": "Joe Blow",
          "address": "blow@example.com"
        },
        {
          "name": "Heinz Müller",
          "address": "mueller@example.com"
        }
      ]
    },
    "date": {
      "DateTime": {
        "year": 2000,
        "month": 5,
        "day": 19,
        "hour": 10,
        "minute": 26,
        "second": 12,
        "tz_before_gmt": true,
        "tz_hour": 4,
        "tz_minute": 0
      }
    },
    "mime_version": {
      "Text": "1.0"
    }
  },
  "html_body": [
    {
      "contents": "<html><body></body></html>"
    }
  ],
  "text_body": [
    {
      "headers": {
        "content_type": {
          "ContentType": {
            "c_type": "text",
            "c_subtype": "plain",
            "attributes": {
              "charset": "US-ASCII"
            }
          }
        }
      },
      "contents": "\r"
    }
  ],
  "attachments": [
    {
      "Text": {
        "headers": {
          "content_description": {
            "Text": "Short story in German"
          },
          "content_type": {
            "ContentType": {
              "c_type": "text",
              "c_subtype": "plain",
              "attributes": {
                "charset": "iso-8859-1",
                "name": "HasenundFrösche.txt"
              }
            }
          },
          "content_transfer_encoding": {
            "Text": "BASE64"
          },
          "content_disposition": {
            "ContentType": {
              "c_type": "attachment",
              "attributes": {
                "filename": "HasenundFrösche.txt"
              }
            }
          },
          "content_id": {
            "Text": "Pine.LNX.4.21.0005191026120.8452@penguin.example.com"
          }
        },
        "contents": "Die Hasen und die Frösche\r\r\n\r\r\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \r\r\n\r\r\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \r\r\n\r\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \r\r\n\r\r\n"
      }
    }
  ]
}