blob: 058bd9f73f9d47061197a5cd1844c0b35d417559 (
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
|
From: test <test@example.com>
Subject: test multipart, alternative first, with image
To: test2 <test2@example.com>
Date: Sat, 27 Feb 2016 17:11:45 +0100
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="------------alternative"
This is a multi-part message in MIME format.
--------------alternative
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Plain Text
--------------alternative
Content-Type: multipart/related;
boundary="------------related"
--------------related
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
HTML Body<br>
<img src="cid:part1" alt=""><br>
</body>
</html>
--------------related
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-ID: <part1>
iVBORw0KGgoAAAANSUhEUgAAAAYAAAALCAIAAADTMGvBAAAAEUlEQVQImWPgsi5DQwxDWggA
lCEwN+YGfiYAAAAASUVORK5CYII=
--------------related--
--------------alternative
Content-Type: text; charset=UTF-8;
Content-Transfer-Encoding: 8bit
Unspecified text type (not text/plain)
--------------alternative--
|