<? $naglowki = 'MIME-Version: 1.0'.PHP_EOL; $headers .= 'Content-type: text/html; charset=iso-8859-2'.PHP_EOL; $naglowki .= 'Content-transfer-encoding: 8bit'.PHP_EOL; $naglowki .= 'From: adres@o22.pl'.PHP_EOL; $headers .= 'X-Confirm-Reading-To: adres@o2.pl'.PHP_EOL; $headers .= 'Disposition-Notification-To: adres@o2.pl'.PHP_EOL.PHP_EOL; $tresc="<html> <body> <b> Dziekujemy za dokonanie rejestracji <br /> <br />$nazwa</b> <hr> <p >login :".$_POST['login']."<br> hasło: ".$_POST['haslo']." <br> imię : ".$_POST['imie']."<br> nazwisko: ".$_POST['nazwisko']."<br> płeć :".$_POST['plec']."<br> miasto :".$_POST['miasto']."<br> kod : ".$_POST['kod']."<br /> adres : ".$_POST['adres']."<br /> e-mail : ".$_POST['mail']."<br> <hr> kliknij na poniższy adres aby zakończyć rejestrację<br /> <A HREF=http://".$adr."autoryzacja.php?id=".$_POST['login']."&a=".$_POST['auto'].">http://".$adr."autoryzacja.php?id=$".$_POST['login']."&a=".$_POST['auto']."</a> <br /><br /> </body></html>"; ?>
zamiast .PHP_EOL uzywałem również \r\n
u minie wszystko działa poprawnie - maile dochodzą. Ale na yoyo.pl juz nie. Uzytkownik restrujący się otrzymuje:
Cytat
CORRUPTED MESSAGE
This is the Courier Mail Server 0.47 on v1.yoyo.pl.
I received the following message for delivery to your address. This message
contains several internal formatting errors. This is often caused by
viruses that attempt to infect remote systems. Instead of blocking
this message, it has been converted as a safe, text-only attachment that
can be safely read with a text editor.
This sometimes also happens when the sender's mail software has a bug
that creates improperly-formatted messages. Although these kinds of
formatting errors may often be ignored by other mail servers, this
server detects and intercepts improperly-coded messages in order to
prevent viruses from taking advantage of bugs in E-mail programs:
-----------------------------------------------------------------------------
This message contains improperly-formatted binary content, or attachment.
See <URL:ftp://ftp.isi.edu/in-notes/rfc2045.txt> for more information.
This is the Courier Mail Server 0.47 on v1.yoyo.pl.
I received the following message for delivery to your address. This message
contains several internal formatting errors. This is often caused by
viruses that attempt to infect remote systems. Instead of blocking
this message, it has been converted as a safe, text-only attachment that
can be safely read with a text editor.
This sometimes also happens when the sender's mail software has a bug
that creates improperly-formatted messages. Although these kinds of
formatting errors may often be ignored by other mail servers, this
server detects and intercepts improperly-coded messages in order to
prevent viruses from taking advantage of bugs in E-mail programs:
-----------------------------------------------------------------------------
This message contains improperly-formatted binary content, or attachment.
See <URL:ftp://ftp.isi.edu/in-notes/rfc2045.txt> for more information.
o co tu chodzi?
Pomóżcie
