Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> funkcja mail() HTML i tło-grafika
sever
post
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 15.11.2007

Ostrzeżenie: (0%)
-----


Jak wysłać za pomocą funkcji mail() e-mail w HTML, który będzie zawierał grafikę w tle?
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-


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?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 16:14