...

View Full Version : new to php need mailer help



newpie
11-02-2007, 09:56 PM
hi im doin a anonymous form php mailer and everything seems to work except when i send a test email to myself instead of it displaying the email i had it send from it says nobody @ myhost.com in the inbox but the Reply-To shows the email i had it send from ive tried all kinds of stuff i cant figure it out can someone help me out here with the problem ? code : http://bytme.hostinsanity.com/eml/mail2.txt

sorry i cant post the code on the thread im not home and doin this from a psp ..lol an the Y symbols are the \ symbol

Mwnciau
11-02-2007, 11:02 PM
You're overwriting the $headers var over and over, it should be:


$headers ="Mime-Version: 1.0\r\nContent-Type:text/plain charset=\"ISO-8859-1\"\r\n";
$headers .="Content-Transfer-Encoding: 8bit\r\n";
$headers .="X-Priority: 3\r\n";
$headers .="X-PHP-Mail-Priority: High\r\n";
$headers .="X-Mime-OLE: Produced by MS MimeOLE v5.00.3000.100\r\n";
$headers .="X-Mailer: y0\r\n";
$headers .="From: $from <$from>\r\n";
$headers .="Reply-to: $from\r\n";



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum