Receiving email with an attachment does not work correctly.
Content-Type: text/plain; charset=windows-1251; name="60510Q01.PP7"
Content-Disposition: attachment; filename="60510Q01.PP7"
Content-Transfer-Encoding: 8bit
sent data attachment:
10: 0x36
11: 0x30
12: 0x31
13: 0x7c
14: 0x31
15: 0xd1
16: 0x3a
17: 0xcf
18: 0xf0
19: 0xe5
decoded data attachment:
10: 0x36
11: 0x30
12: 0x31
13: 0x7c
14: 0x31
15: 0x51
16: 0x3a
17: 0x4f
18: 0x70
19: 0x65
Content-Type: text/plain; name="=?UTF-8?B?MjMwNzFGMDIuUFA3?="
Content-Disposition: attachment; filename="=?UTF-8?B?MjMwNzFGMDIuUFA3?="
Content-Transfer-Encoding: base64
Base64 decode correctly.