Forum Moderators: coopster

Message Too Old, No Replies

Missing text problem

         

shalini

7:25 am on Jul 28, 2004 (gmt 0)

10+ Year Member



I am sending mails using mail function. Some clients receive correct mails but in other cases some text is missing. Is this a problem on server end or client end.

Headers used

$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";

dreamcatcher

9:28 am on Jul 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Make sure that each line of the message has \n after it like your headers.

shalini

10:46 am on Jul 28, 2004 (gmt 0)

10+ Year Member



Have alreay tried. Can it be a problem related to client email program. I mean difference in character encoding or something like that

hakre

11:18 am on Jul 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



check it the text is bounded into a mime part, otherwise it won't work. and mention the mime identifier in the headers.

if you don't want to mess around with all this, checkout the mime mail stuff availabe for download free @ zend:

[zend.com...]
[zend.com...]
[zend.com...]

it's all very well described and you can just skip over to the download if you're not interested in knowing why what:

[zend.com...]

this is all compatible to the mail() function, so i think this will help you!

--hakre

shalini

11:25 am on Jul 28, 2004 (gmt 0)

10+ Year Member



which is the most common type of Content-Transfer-Encoding tat is compatible with all email clients