Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] - problem z naglowkami maili
pieto
post
Post #1





Grupa: Zarejestrowani
Postów: 227
Pomógł: 1
Dołączył: 12.05.2002
Skąd: gdańsk

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


Witam,

Od dluzszego czasu nie mogę sie z tym uporac na home.pl gdzie do maili wykorzytywany jest qmail, maile nie dochodza prawidlowo.

naglowek wyglada tak


$headers .= "From:\"".STORE_OWNER."\" <".POCZTA_SKLEPU.">\n";
//$headers .= 'To: ' . $to_customer . "\n";

$headers .= "Bcc:". POCZTA_KOPIA."\n";
$headers .= "Reply-to: ".POCZTA_SKLEPU."\n";
$headers .= "Return-Path: ".POCZTA_SKLEPU."\n";

$headers .= 'MIME-Version: 1.0' ."\n";
$headers .= 'Content-Type: multipart/alternative; boundary="' . $boundary . '"' . "\n";

$headers .= '--' . $boundary. "\r\n";
$headers .= 'Content-Type: text/HTML; charset=ISO-8859-2' ."\n";
$headers .= 'Content-Transfer-Encoding: 8bit'. "\r\n";
$headers .= "$text" . "\r\n";
//$headers .= "\n";
$headers .= '--' . $boundary ."\r\n";
$headers .= 'Content-Type: text/plain; charset=ISO-8859-2' ."\n";
$headers .= 'Content-Transfer-Encoding: 8bit'. "\r\n";
$headers .= "$plaintext" . "\r\n";

$headers .= '--' . $boundary ."\n";
$esubject = $subject_customer;

mail("$to_customer", "$esubject", "", "$headers", "$options");


Przewaznie maile dochodza puste, domyslam sie ze chodzi o konce lini ale na tyle juz sposobow probowalem ze nie wiem jak powinny wygldac.

z gory dzieki
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 23.12.2025 - 06:01