2 ######################################################
6 ######################################################
10 require_locale en_US.utf-8 en_US.utf8
14 tempdir=`TMPDIR=$MH_TEST_DIR mktemp -d`
19 To: recipient@example.com
20 From: sender@example.com
23 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
26 Content-Type: multipart/related;
27 type="multipart/alternative";
28 boundary="subpart__1.1"
31 Content-Type: text/plain; charset="iso-8859-1"
32 Content-Disposition: attachment; filename="=?UTF-8?B?YmzDpGIudHh0?="
34 This is the first text/plain part, in a subpart.
39 Content-Type: text/plain; charset="iso-8859-1"
40 Content-Disposition: attachment; filename="=?UTF-8?Q?bl=C3=A4.txt?="
41 Content-MD5: kq+Hnc2SD/eKwAnkFBDuEA==
42 Content-Transfer-Encoding: quoted-printable
44 This is the second text/plain part.
47 Content-Type: text/plain; charset="iso-8859-1"; name="test3"
48 Content-Disposition: attachment;
50 This is the third text/plain part.
53 Content-Type: text/plain; charset="iso-8859-1"
54 Content-Disposition: attachment; filename="test4"
55 Content-Transfer-Encoding: base64
57 VGhpcyBpcyB0aGUgZm91cnRoIHRleHQvcGxhaW4gcGFydC4K
60 Content-Type: text/plain; charset="iso-8859-1"; name="test23"
61 Content-Disposition: attachment; filename="test5"
63 This is the third text/plain part.
66 Content-Type: text/plain; charset="iso-8859-1"
67 Content-Disposition: attachment;
69 This is the third text/plain part.
71 ------- =_aaaaaaaaaa0--
76 runandcheck "mhstore l" <<!
77 storing message $msgnum part 1.1 as file bläb.txt
78 storing message $msgnum part 2 as file blä.txt
79 storing message $msgnum part 3 as file test3
80 storing message $msgnum part 4 as file test4
81 storing message $msgnum part 5 as file test5
82 storing message $msgnum part 6 as file $msgnum.6.plain