![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 7 Pomógł: 0 Dołączył: 8.11.2005 Ostrzeżenie: (0%) ![]() ![]() |
witam,
mam problem z kodowaniem wysyłanego maila..... kod do wysylania maila
w mailu wysyła sie plik z kodowaniem charset=iso-8859-2 przychodzący mail rowala kodowanie a naglowki wygladja tak: Date: Sat, 17 Dec 2005 16:45:47 +0100 (CET) Message-Id: <200512171545.jBHFjl8I056716@fabrykawww.pl> To: tomek@srem.pl Subject: Test mime message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_eeb5bdee5b1e25781a540c042bc669f0" From: you@yourdomain.com X-NAS-Language: English X-NAS-Bayes: #0: 0.567419; #1: 0.432581 X-NAS-Classification: 0 X-NAS-MessageID: 2332 X-NAS-Validation: {52FC1B71-0DA0-4021-84FF-929B5EA0B19B} --=_eeb5bdee5b1e25781a540c042bc669f0 Content-Type: multipart/alternative; boundary="=_3534cb5f94ed8aa3e39cf9f10fb1abae" --=_3534cb5f94ed8aa3e39cf9f10fb1abae Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Text version of email --=_3534cb5f94ed8aa3e39cf9f10fb1abae Content-Type: multipart/related; boundary="=_5cc710d70c9b5f1d62948a40994305e4" --=_5cc710d70c9b5f1d62948a40994305e4 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable =B3=F3=BF=B6=E6=F1=B1=F3=B3--=_5cc710d70c9b5f1d62948a40994305e4 Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="logo.gif" Content-ID: <dea99b5b30af0e67d3bfacf8ae97cb52> R0lGODlhoAFgAGYAACH5BAAAAAAALAAAAACgAWAAhv///ykIc/XnACoVdCIJbi4NbT8hgRUCaykE i w rzeczywistości w mailu przychodzą krzaki :-( Proszę o pomoc... probowalem juz na rozne sposoby ze zmiana kodowania i nic mi nie wyszlo.... |
|
|
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 398 Pomógł: 10 Dołączył: 24.11.2004 Skąd: Łódź Ostrzeżenie: (0%) ![]() ![]() |
Ja w swoich projektach mam podobny schemat wysyłania do Twojego z tym, że w trochę inny sposób wywołuję metodę Mail_mime::get ();
Kod string &get ( array [$param = NULL] ) Cytat array $param - An associative array of parameters. These parameters affect the way the message is built.
$param["text_encoding"] - Type of encoding to use for the plain text part of the email. Default is "7bit". $param["html_encoding"] - Type of encoding for the HTML part of the email. Default is "quoted-printable". $param["7bit_wrap"] - Number of characters after which text is wrapped. SMTP stipulates maximum line length of 1000 characters including CRLF. Default is 998 (CRLF is appended to make up to 1000). $param["text_charset"] - The character set to use for the plain text part of the email. Default is "iso-8859-1". $param["html_charset"] - The character set to use for the HTML part of the email. Default is "iso-8859-1". -------------------- |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 7 Pomógł: 0 Dołączył: 8.11.2005 Ostrzeżenie: (0%) ![]() ![]() |
Wielki dzieki :-) wlasnie o to mi chodzilo...
|
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 26.06.2025 - 08:44 |