Olli: php mail mit Anhang

Beitrag lesen

Hallo Tom,

ich habe das jetzt noch mal mit einer gif Datei probiert.
Nach dem Absenden wird das angezeigt:
From: oliver@oburdich.de
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="776ED8E215CF599F84933A94966FFD6E"

This is a multi-part message in MIME format
Dies ist eine mehrteilige Nachricht im MIME-Format

--776ED8E215CF599F84933A94966FFD6E
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

1234ayhvkljas
--776ED8E215CF599F84933A94966FFD6E
Content-Type: application/octetstream;
        name="total.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename="total.gif"

R0lGODlh4wKlAbMAAABCAJycnP//////////////////////////////////////////////////
/////yH5BAEAAAQALAAAAADjAqUBAAT+kMhJq7046827/2AojmRpnmiqrmzrvnAsz3Rt33iu73zv
/8CgcEgs

--776ED8E215CF599F84933A94966FFD6E--
Array
(
    [0] => Array
        (
            [name] => total.gif
            [type] => image/gif
            [tmp_name] => C:\WINNT\TEMP\php1E4.tmp
            [error] => 0
            [size] => 5089
        )

[1] => Array
        (
            [name] =>
            [type] =>
            [tmp_name] =>
            [error] => 4
            [size] => 0
        )

)

Ok
Nachricht wurde versandt...

Die Mail die ich bekommen habe, hat einen Anhang (die Gif Datei). Wenn ich die aufmache, sehe ich nur einen grünen Hinergrund. Das Bild sollte eigentlich ein Umriss von Mallorca sein.

Gruss
Olli