On 6/6/06, Eric Stadtherr <[EMAIL PROTECTED]> wrote:

<snip>

Strip the HTML tags using strip_tags() and just leave the text without any 
formatting.
Write or integrate an HTML=>text renderer (similar to what would be in a 
text-only web browser)
Clear the contents of the text field when switching editor types


Any thoughts from the group?


From a user point of view (and what is expected from other email
clients) the HTML->Text renderer would be by far the best option.  I
looked into this for something else and I found the following GPLed
PHP class that is a good starting point:
http://www.chuggnutt.com/html2text.php

Cheers
Derek


Reply via email to