Missing text problem in mails

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shalini
Forum Newbie
Posts: 2
Joined: Wed Jul 28, 2004 2:54 am

Missing text problem in mails

Post by shalini »

I am using mail() to send mails. Some clients receive perfect emails but some of them are complaining of missing text. Can anyone tell whether this problem is server side or on client side ??

Headers which I am using are:
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .="From: ".$vchSendFrom." <".$vchSendFrom."> \n";
$headers .= "X-Mailer: PHP/" . phpversion(). "\n";
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

try switching \n to \r\n
shalini
Forum Newbie
Posts: 2
Joined: Wed Jul 28, 2004 2:54 am

Post by shalini »

Have alreay trien. Can it be a problem related to client email program. I mean difference in character encoding or something like that
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Sadly, it can be a multitude of things, their client, their server, your server, their spam filter.. all kinds of nitpicky things..
Post Reply