Czy taki mail mógłby wyglądać np. tak?
CODE
Content-Type: multipart/mixed; boundary="MARKER"
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
--MARKER
Content-Transfer-Encoding: 8bit
Content-type: text/html; charset=iso-8859-2
MIME-Version: 1.0
Content-Disposition: inline
<body background="telko.gif">
--MARKER
Content-Type: image/gif; name="telko.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="telko.gif"
base64_encode('telko.gif')
--MARKER-
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
--MARKER
Content-Transfer-Encoding: 8bit
Content-type: text/html; charset=iso-8859-2
MIME-Version: 1.0
Content-Disposition: inline
<body background="telko.gif">
--MARKER
Content-Type: image/gif; name="telko.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="telko.gif"
base64_encode('telko.gif')
--MARKER-
Pewnie jest tu trochę błędów, a w miejscu base64_encode('telko.gif') miałem na myśli efekt działania tej funkcji, ale czy idę w dobrym kierunku?