Problem with PHP mailing script
Posted: Sat May 20, 2006 10:23 am
I am having problem with my emails if characters like " ' are in the body of my message using the <textarea> tag for the message body. When my recipient recievs the email this is what happens, if I had a word like wasn't it becomes wasn\'t this problem occurs in both plain text and Html messages using the <textarea>. but if the mesage has already been defined in my php script for example
$messaeg = <<<ABC
Thi is a place wasn't bad the last time I visited
ABC;
I don't exprience the problem.
So I will like to know if any additional header could be added to my mailing script to help eradicate this problem in HTML and Plian text messages.
$messaeg = <<<ABC
Thi is a place wasn't bad the last time I visited
ABC;
I don't exprience the problem.
So I will like to know if any additional header could be added to my mailing script to help eradicate this problem in HTML and Plian text messages.