Autor Zpráva
mobydick
Profil *
Pomoci php vytvarim e-mail, ktery obsahuje v priloze obrazek a text v html i obycejny text (trida phpmailer). Vše chodí OK, ale zjistil jsem nemilou věc. Když mail pošlu třeba do své schránky na centrum nebo seznam, vše se zobrazí bez problému (zkusil jsem stahovat přes Outlook i Thunderbid, funguje). Poslal jsem to ale kamarádovi na jeho firemní email a jemu se mail nezobrazí správně. Zobrazí se jakoby celý zdroj. Kód mailu:

> Sat, 11 Nov 2006 23:23:14 +0100
> Date: Sat, 11 Nov 2006 23:23:14 +0100
> From: "blabla" <blabla@blabla.cz>
> X-Priority: 3
> X-Mailer: phpmailer [version 1.50]
> MIME-Version: 1.0
> Content-Type: Multipart/Mixed;
> boundary="Boundary-=_b18dd30129e745816c27f53f7bb996556"
> X-RCPT-TO: <blabla@blabla.cz>
> Status: U
> X-UIDL: 445402042
>
>
>
>
> This is a MIME message. If you are reading this text, you
> might want to consider changing to a mail reader that
> understands how to properly display MIME multipart messages.
>
> --Boundary-=_b18dd30129e745816c27f53f7bb996556
> Content-Type: multipart/alternative; charset = "iso-8859-2";
> boundary="Boundary-=_sbfcd4f06129ab7ea000617938f46d1ee2";
>
> --Boundary-=_sbfcd4f06129ab7ea000617938f46d1ee2
> Content-Type: text/plain; charset = "iso-8859-2";
> Content-Transfer-Encoding: 8bit

plain text

> --Boundary-=_sbfcd4f06129ab7ea000617938f46d1ee2
> Content-Type: text/html; charset = "iso-8859-2";
> Content-Transfer-Encoding: 8bit

html text

> --Boundary-=_sbfcd4f06129ab7ea000617938f46d1ee2--
>
> --Boundary-=_b18dd30129e745816c27f53f7bb996556
> Content-Type: application/octet-stream; name="obrazek.jpg"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment; filename="obrazek.jpg"

změť písmen - patrně obrázek

>
> --Boundary-=_b18dd30129e745816c27f53f7bb996556--
>

Stejný problém jsem měl i na jiných serverech. Netuším, čím by to mohlo být. Někde to funguje, někde ne. Potřebuju, aby to šlapalo všude :-)

Prosím, poraďte. Díky !!
Toto téma je uzamčeno. Odpověď nelze zaslat.

0