<?php
$nadawca="ja@mojserek.info";
$mail_header = "From: Ja<$nadawca>\n";
$mail_header .= "Return-path: ala<$nadawca>\n";
$mail_header .= "Disposition-Notification-To: <$nadawca>\n";
$mail_header .= "Errors-To: ala<$nadawca>\n";
$mail_header .= "Prevent-NonDelivery-Report: <$nadawca>\n";
$mail_header .= "MIME-Version: 1.0";
$mail_header .= "\nContent-Type: multipart/alternative; boundary=\"$boundary\"";
$mail_header .= "\n\nThis is a multi-part message in MIME format --";
// Text Mail
$mail_header .= "\n--$boundary";
$mail_header .= "\nContent-Type: text/plain; charset=iso-8859-2";
$mail_header .= "\nContent-Transfer-Encoding: 7bit";
$mail_header .= "\n\n\n$wstepMINE";
$mail_header .= "\n\n\n$trescMINE";
// HTML Mail
$mail_header .= "\n--$boundary";
$mail_header .= "\nContent-Type: text/html; charset=iso-8859-2";
$mail_header .= "\nContent-Transfer-Encoding: 7bit";
$mail_header .= "\n\n";
$mail_header .= "\n<html><head><META HTTP-EQUIV=\"Content-type\" CONTENT=\"text/html; charset=iso-8859-2\"></head>";
$mail_header .= "\n<body BGCOLOR=\"#F0F0F0\" >";
$mail_header .= "\n<TABLE ALIGN=\"LEFT\" BORDER=\"0\" width=\"100%\" STYLE=\"font-family: verdana; font-size: 10pt\">";
$mail_header .= "\n$wstep";
$mail_header .= "\n$trescHtml";
$mail_header .= "\n</table></body></html>";
$mail_header .= "\n--$boundary--";
$subject = "no i jak ?";
// $odbiorca = "palkaaaaaaaaa@sdgladh.pl";
$odbiorca = "ja@mojserek.info";
if (mail("$odbiorca","$subject","",$mail_header)) echo "poszło ...";
?>
nie wiem dlaczego naglowek Return-path nie jest poprawnie odczytywany. Po odebraniu poczty i wyswietleniu wszystkich naglowkow widze : <nobody@mojserek.info>