aboutsummaryrefslogtreecommitdiffhomepage
path: root/unittest/data/parser/input/messages/rfc2060.txt
diff options
context:
space:
mode:
authorGravatar Hoà V. DINH <dinh.viet.hoa@gmail.com>2014-10-21 22:25:14 -0700
committerGravatar Hoà V. DINH <dinh.viet.hoa@gmail.com>2014-10-21 22:25:14 -0700
commit58383899107bbe80dfaa7b821d269593dd780b29 (patch)
tree284fe7bbe4660b5c4693d842de6508975177e6ef /unittest/data/parser/input/messages/rfc2060.txt
parent07c3f88074b792b7167e7e78ea384312c393a1ee (diff)
parent5216f330753f9f6548def45677286bca028be239 (diff)
Merge pull request #926 from MailCore/unittest
Unittest for message parser and builder
Diffstat (limited to 'unittest/data/parser/input/messages/rfc2060.txt')
-rw-r--r--unittest/data/parser/input/messages/rfc2060.txt74
1 files changed, 74 insertions, 0 deletions
diff --git a/unittest/data/parser/input/messages/rfc2060.txt b/unittest/data/parser/input/messages/rfc2060.txt
new file mode 100644
index 00000000..84579220
--- /dev/null
+++ b/unittest/data/parser/input/messages/rfc2060.txt
@@ -0,0 +1,74 @@
+From: me@myself.com
+To: me@myself.com
+Subject: Sample message structure for IMAP part specifiers
+MIME-Version: 1.0
+Content-Type: MULTIPART/MIXED; boundary="x"
+
+--x
+Content-Type: TEXT/PLAIN
+
+This part specifier should be: 1
+
+--x
+Content-Type: APPLICATION/OCTET-STREAM
+
+This part specifier should be: 2
+
+--x
+Content-Type: MESSAGE/RFC822
+
+From: me@myself.com
+To: me@myself.com
+Subject: This part specifier should be: 3
+MIME-Version: 1.0
+Content-Type: MULTIPART/MIXED; boundary="3.x"
+
+--3.x
+Content-Type: TEXT/PLAIN
+
+This part specifier should be: 3.1
+
+--3.x
+Content-Type: APPLICATION/OCTET-STREAM
+
+This part specifier should be: 3.2
+
+--3.x--
+--x
+Content-Type: MULTIPART/MIXED; boundary="4.x"
+
+--4.x
+Content-Type: IMAGE/GIF
+
+This part specifier should be: 4.1
+
+--4.x
+Content-Type: MESSAGE/RFC822
+
+From: me@myself.com
+To: me@myself.com
+Subject: This part specifier should be: 4.2
+MIME-Version: 1.0
+Content-Type: MULTIPART/MIXED; boundary="4.2.x"
+
+--4.2.x
+Content-Type: TEXT/PLAIN
+
+This part specifier should be: 4.2.1
+
+--4.2.x
+Content-Type: MULTIPART/ALTERNATIVE; boundary="4.2.2.x"
+
+--4.2.2.x
+Content-Type: TEXT/PLAIN
+
+This part specifier should be: 4.2.2.1
+
+--4.2.2.x
+Content-Type: TEXT/RICHTEXT
+
+This part specifier should be: 4.2.2.2
+
+--4.2.2.x--
+--4.2.x--
+--x--