[ https://issues.apache.org/jira/browse/JAMES-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3812. --------------------------------- Resolution: Fixed > ToPlainText mailet > ------------------ > > Key: JAMES-3812 > URL: https://issues.apache.org/jira/browse/JAMES-3812 > Project: James Server > Issue Type: Improvement > Components: Mailet Contributions > Reporter: Benoit Tellier > Priority: Major > Fix For: 3.8.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > h2. 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. > h2. 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. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org