January 10, 2011
How to avoid original msg while reply using PHP?
Question by VinothPHP
Dear all,
how to avoid original message while reply for incoming mail using php, Am download the mail from mail server, the message content ll be combine with original messages, so its confused, and some of html entities are placed with that content,because of that original messages,
So how to avoid that original messages using php, anyone can help me…
Thanks in Advance….
Regards,
Vinoth S
Answer by Starx
I am not sure, if this is your answer but
$message = preg_replace ('/<[^>]*>/', '', $message);
OR
$message = strip_tags($message);
Will remove all the html entities from your message? Try it