Menu

HTML mail in dtmail?

2016-07-29
2021-03-18
  • Silent-Hunter

    Silent-Hunter - 2016-07-29

    This might be a stupid question, but will dtmail ever be able to parse HTML mails? No need to display pictures or anything, just something to allow it to actually interpret the HTML and display it as human readable text would be fine.

    If not, could I have some pointers on how to make it so all email that goes into my mbox is converted from HTML to plaintext?

     
  • Matthew

    Matthew - 2021-03-18

    I have been exploring this by trying to use procmail to process incoming emails through html2text or lynx or w3m or links. This section of de'HTML'ing emails is what I am trying but haven't seemed to get it going yet.

    https://docs.ocf.berkeley.edu/wiki/Using_Procmail#de-HTML.27ing_email

    Processing a test html email file I found a converter called 'links' is the best and looks like Alpine or Mutt parsed emails. I think the procmail it is the solution though and I can't figure out how to change this line:

    | lynx -dump -stdin -nolist \

    to get it to run 'links' vs lynx. I would also like to know how to check if procmail is actually doing anything to my emails...

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.