Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 227 Pomógł: 1 Dołączył: 12.05.2002 Skąd: gdańsk Ostrzeżenie: (0%)
|
Witam,
Takie pytanie: Czy jest jakis sposob aby klient poczty X odbieral wersje maila txt jesli nie obsluguje html ? by to dzialo sie automatycznie, tzn w jednym strumieniem idzie wyslac dwie wersje wiadomoscci ? |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 1 597 Pomógł: 30 Dołączył: 19.02.2003 Skąd: Tychy Ostrzeżenie: (0%)
|
nie
|
|
|
|
Post
#3
|
|
|
Grupa: Zarejestrowani Postów: 475 Pomógł: 0 Dołączył: 1.04.2005 Skąd: Warszawa Ostrzeżenie: (0%)
|
Nie da się. Dlaczego w form. zapisywania się do subskrypcji zrób wybór, czy ktoś chce otrzymywać maila w formie txt, czy w formie HTML (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
|
|
|
|
Post
#4
|
|
|
Grupa: Zarejestrowani Postów: 36 Pomógł: 0 Dołączył: 16.12.2005 Skąd: Warszawa, Kabaty Ostrzeżenie: (0%)
|
Cytat(NetJaro @ 2006-02-19 11:09:24) Nie da się. Jak nie jak tak? Zobacz ten artykuł. Cytat Your message must use MIME headers in order to use HTML. Sending messages with attachments is well-covered in several books and online, and the technique is similar. However, instead of sending a multipart/mixed message, you must send a multipart/alternative message. That is, the Content-type header is set to "multipart/alternative".
This alerts the client that several versions of the same message are included, and the client should pick the best version. The simplest case is to include a plain text version and an HTML version. If the client understands HTML, that version should be presented instead of the plain text version. |
|
|
|
![]() ![]() |
|
Aktualny czas: 23.12.2025 - 00:35 |