Matthias Apitz writes: > I often get mails meant for graphical MUA which have parts in HTML and > files like PNG to be used when rendering the mail. The mutt 'v' command > shows (as an example) the parts like this: [ ... ] > The HTML file contains the source of the image in the form > "cid:qrcode-90866c7b-d03d-44fe-b963-d3bed6d08236": [ ... ] > Is there a tool to produce on Linux/FreeBSD a PDF combining HTML + > image. Normally I store the HTML part and PNG part as files and fix the > HTML code to find the file.
I couldn't find one and ended up writing a python script to do it. I wrote about it here: https://shallowsky.com/blog/tech/email/mutt-viewmailattachments.html There may be better built-in solutions now, but it's been working well enough for me that I haven't looked for other options. I also use it for viewing Word attachments by running them through unoconv (part of LibreOffice) to convert them to HTML, then showing them in a browser window. ...Akkana