urlize-simple-mutiple-attachments.eml 1.53 KB
Newer Older
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
From: Ye Olde Sender <sender@domain.tld>
Subject: Nested message 1
To: my list <test@lists.example.com>
Message-ID: <simple@example.com>
Date: Wed, 8 Jan 2020 12:27:55 +0100
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="________boundary-level1"
Content-Language: en-US

This message is a normal multipart/mixed attachements message with multiple attachments.

--________boundary-level1
Content-Type: multipart/alternative;
 boundary="________boundary-level2"

--________boundary-level2
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

A Simple text part

--________boundary-level2
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head></head>
  <body>A simple HTML part.</body>
</html>

--________boundary-level2--

--________boundary-level1
Content-Type: application/pdf;
 name="attachment.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="attachment.pdf"

JVBERi0xLjQNJeLjz9MNCjUgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgMTIzNzgxNi9PIDcv

--________boundary-level1
Content-Disposition: attachment;
	filename="text.txt"
Content-Type: text/plain;
	name="text.txt"
    charset=us-ascii
Content-Transfer-Encoding: 8bit

This is a text file attached to the message. It should be urlized.

--________boundary-level1
Content-Type: application/png;
 name="image.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="image.png"

JVBERi0xLjQNJeLjz9MNCjUgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgMTIzNzgxNi9PIDcv

--________boundary-level1--