| 1 |
From: [email protected] |
| 2 |
To: [email protected] |
| 3 |
Subject: Пример email с вложением и Content-ID |
| 4 |
MIME-Version: 1.0 |
| 5 |
Content-Type: multipart/mixed; boundary="boundary123" |
| 6 |
|
| 7 |
--boundary123 |
| 8 |
Content-Type: text/plain; charset="UTF-8" |
| 9 |
Content-Transfer-Encoding: 7bit |
| 10 |
|
| 11 |
текстовое сообщение с вложением, у которого есть Content-ID. |
| 12 |
|
| 13 |
--boundary123 |
| 14 |
Content-Type: image/png; name="example.png" |
| 15 |
Content-Transfer-Encoding: base64 |
| 16 |
Content-Disposition: attachment; filename="example.png" |
| 17 |
Content-ID: Test0 =?UTF-8?B?Iua8ouWtlyI=?= mid1 =?UTF-8?B?Iua8ouWtlyI=?= tail2 |
| 18 |
|
| 19 |
iVBORw0KGgoAAAANSUhEUgAAAAUA |
| 20 |
AAAAFQAAABN3x3XAAAAAElFTkSuQmCC |
| 21 |
--boundary123-- |