Re: Re: double lines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks

Ive tried it and waiting for feed back from the client on my pc it shows correctly ,Im using thunder bird on his computer he uses outlook, but Ive sent it to other people who have outlook and its fine on there PC.

Does the html <textarea> add in \r.

clive


Barry wrote:
clive wrote:
Hi

Im using the phpmailer class to send text emails (not html), it works 100%.

So emails sent from a php script look correct in the mail client, however when I first load/show the message in a <textarea> and then send it to the same script which then sends the email, on some mail clients there are double line between paragraphs.

Its almost like the <textarea> is putting in a extra \n, how can I test for this or fix this problem.

Regards,

Clive
This might be because there are \r in it.
Search for them and replace them with "" so you wont have any probs.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux