Mailinglisten-Archive |
Hallo, at Sunday 14.01.01 (15:03 +0100), Mike Greubel wrote: > > > mail("nobody_(at)_aol.com", "the subject", $message, > > > "From: webmaster_(at)_$SERVER_NAME\nReply-To: > > > webmaster_(at)_$SERVER_NAME\nX-Mailer: PHP/" . phpversion()); > > > >versuchs ma mit >mail(nobody_(at)_aol.com, "subject",$message,"X-Envelope-From:Webmaster von >$SERVER_NAME\nFrom >webmaster_(at)_$SERVER_NAME\nReply_To:webmaster_(at)_$SERVER_NAME\nX-Mailer:$PHP_SELF" >)); > >Die gesuchte Zeile für den Mail-Header ist somit "X-Envelope-From". Das klappt auch : $header = "Content-Type: text/plain; charset=\"us-ascii\"\n"; $header .= "Content-Transfer-Encoding: 7bit\n"; $header .= "X-Mailer: BlaBlaBla\n"; $header .= "Reply-To: $nfrom <$frommail>\n"; $header .= "From: $nfrom <$frommail>\n"; // eMail-Adresse des Absenders $mailto = "$name <$email>"; // eMail-Adresse des Empfängers mail("$mailto","$subject","$msg","$header"); Gruß Michael -- Phone +49 5723 98077-0 Fax +49 5723 98077-1 Mobil +49 173 4315914 PGP-Key http://www.macbyte-computing.de/
php::bar PHP Wiki - Listenarchive