multipart mails with HTML and PNG/JPEG

Matthias Apitz guru at unixarea.de
Thu Sep 19 08:51:51 UTC 2024


Hello,

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:

v -->
  I     1 <no description>                              [multipa/alternativ, 7bit, 14K]
  I     2 |-><no description>                         [text/plain, quoted, utf-8, 1,9K]
  I     3 `-><no description>                              [multipa/related, 7bit, 12K]
  I     4   |-><no description>                         [text/html, quoted, utf-8, 11K]
  I     5   `-><no description>                               [image/png, base64, 0,8K]

The HTML file contains the source of the image in the form
"cid:qrcode-90866c7b-d03d-44fe-b963-d3bed6d08236":

...
At the reception you can use the QR-code for registration. <br />
        <br />
        <img src="cid:qrcode-90866c7b-d03d-44fe-b963-d3bed6d08236" alt="QR-Code" /></span></span></span></span></p>
...

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.

Thanks

	matthias


-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.  Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.


More information about the Mutt-users mailing list