-
Notifications
You must be signed in to change notification settings - Fork 68
/
NOTES.txt
96 lines (77 loc) · 2.01 KB
/
NOTES.txt
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
My Personal notes
=================
How to release
--------------
* pixel
- compile windows binary
- test by running test_gmail.sh
* t105
- compile. run make docs
- ldd mailsend to make sure libs are ok.
- test by running test_gmail.sh
- cp mailsend.exe mailsendV.exe
- zip mailsendV.zip mailsendV.exe
- update issues if needed.
--
Apr-28-2013
Notes on mixing and embedding attachment
========================================
* Just embed images, say 2 images
Content-Type: multipart/related: boundary=relate
--relate
Content-Type: multipart/alternative; boundary=alt
--alt
Content-Type: text/html; charset=ISO-8859-1
<img src="cid:img1_deadbeef" alt="image 1">
<br>
<img src="cid:img2_deadbeef" alt="image 2">
--alt--
--relate
Content-Type: image/jpeg; name="test1.jpg"
Content-Transfer-Encoding: base64
Content-ID: <img1_deadbeef>
X-Attachment-Id: img1_deadbeef
base64........
base64........
--start
Content-Type: image/png; name="test.png"
Content-Transfer-Encoding: base64
Content-ID: <img2_deadbeef>
X-Attachment-Id: img2_deadbeef
base64........
base64........
--relate--
* embedded images and a pdf attachment
--------------------------------------------
Content-Type: multipart/mixed: boundary=mixed
--mixed
Content-Type: multipart/related: boundary=relate
--relate
Content-Type: multipart/alternative; boundary=alt
--alt
Content-Type: text/html; charset=ISO-8859-1
<img src="cid:img1_deadbeef" alt="image 1">
<br>
<img src="cid:img2_deadbeef" alt="image 2">
--alt--
--relate
Content-Type: image/jpeg; name="test1.jpg"
Content-Transfer-Encoding: base64
Content-ID: <img1_deadbeef>
X-Attachment-Id: img1_deadbeef
base64........
base64........
--start
Content-Type: image/png; name="test.png"
Content-Transfer-Encoding: base64
Content-ID: <img2_deadbeef>
X-Attachment-Id: img2_deadbeef
base64........
base64........
--relate--
--mixed
Content-Type: application/pdf; name="mailsend.pdf"
Content-Disposition: attachment; filename="mailsend.pdf"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hppv4bio1
--mixed