Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Why ?
In some case converting an HTML message to plain text is desired.
Such exemples includes, but are not restricted to:
- When writing to a plain text only mailing list EG the ASF mailing lists
- Converting some potentially harmful messages (spam with high scores but also virusses) to plain text can be seen as a way to "neutralize" them.
The feature seems generic enough to land as a generic mailet.
How?
Converts
multipart/alternative
- text/html
- text/plain
into text/html (only keep this part)
Then rely on HTMLTextExtractor class to convert remaining text/html parts into text/plain.
Attachments
Issue Links
- links to