blob: 8be6c1a8a37e3dafce9403fc4e50b2d5cc904f36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
'From: Some One <someone@example.com>\n' Comment
'MIME-Version: 1.0\n' Comment
'Content-Type:' Name.Tag
' ' Text.Whitespace
'' Text.Whitespace
'multipart' Name.Label
'/' Literal.String.Delimiter
'mixed' Name.Label
';' Text
'\n ' Text.Whitespace
'boundary' Name.Attribute
'=' Operator
'"+Testboundary text"' Literal.String
'\n' Text.Whitespace
'\n' Text.Whitespace
'This is a multipart message in MIME format.\n\n' Text
'--+Testboundary text\n' Literal.String.Delimiter
'Content-Type:' Name.Tag
' ' Text.Whitespace
'' Text.Whitespace
'multipart' Name.Label
'/' Literal.String.Delimiter
'alternative' Name.Label
';' Text
'\n ' Text.Whitespace
'boundary' Name.Attribute
'=' Operator
'"hello, boundary"' Literal.String
'\n' Text.Whitespace
'\n' Text.Whitespace
'' Text
'--hello, boundary\n' Literal.String.Delimiter
'Content-Type:' Name.Tag
' ' Text.Whitespace
'' Text.Whitespace
'text' Name.Label
'/' Literal.String.Delimiter
'plain' Name.Label
'\n' Text.Whitespace
'\n' Text.Whitespace
'this is the body text\n\n' Text
'--hello, boundary\n' Literal.String.Delimiter
'Content-Type:' Name.Tag
' ' Text.Whitespace
'' Text.Whitespace
'text' Name.Label
'/' Literal.String.Delimiter
'html' Name.Label
';' Text
'\n ' Text.Whitespace
'charset' Name.Attribute
'=' Operator
'"utf-8"' Literal.String
'\n' Text.Whitespace
'Content-Transfer-Encoding:' Name.Tag
' ' Text.Whitespace
'quoted-printable' Name.Constant
'\n' Text.Whitespace
'\n' Text.Whitespace
'<' Punctuation
'font' Name.Tag
' ' Text
'color' Name.Attribute
'=' Operator
'3D"#FF0000"' Literal.String
'>' Punctuation
'This is the body text' Text
'<' Punctuation
'/' Punctuation
'font' Name.Tag
'>' Punctuation
'\n\n' Text
'--hello, boundary--\n' Literal.String.Delimiter
'--+Testboundary text\n' Literal.String.Delimiter
'Content-Type:' Name.Tag
' ' Text.Whitespace
'' Text.Whitespace
'text' Name.Label
'/' Literal.String.Delimiter
'plain' Name.Label
';\n' Text
'Content-Disposition: attachment;\n filename="test.txt"\n' Comment
'Content-Transfer-Encoding:' Name.Tag
' ' Text.Whitespace
'base64' Name.Constant
'\n' Text.Whitespace
'\n' Text.Whitespace
'dGhpcyBpcyB0aGUgYXR0YWNobWVudCB0ZXh0\n\n' Other
'--+Testboundary text--\n' Literal.String.Delimiter
'Some additional content here.\n' Text
|