Inconvenient Signature Requirements
Kevin Monceaux
Kevin at rawfeddogs.net
Tue May 5 14:36:09 UTC 2020
Jens,
On Tue, May 05, 2020 at 02:47:42PM +0200, Jens John wrote:
> Current mutt has a convenient option for this, $send_multipart_alternative:
> You should be able to get done what you want by implementing a
> $send_multipart_alternative_filter (for the protocol see man muttrc) that
> converts the message to proper HTML markup (including <p>) and includes
> the signature snippet. If the signature contains image data, it is
> possible to inline the image data into the HTML by using the
> src=data:image/jpeg;base64 attribute of the <img> tag. This saves you from
> having to inject extra attachments with certain content dispositions into
> the message, and allows you to keep the filter clean from side effects.
With those pointers and Bing, I found that recent versions of Mutt have an
example contrib/markdown2html python script in the source tarball that looks
like it should be easily adaptable to do what I need. I'm not a Python fan,
so I may eventually convert it to Perl, but it will get me started.
--
Kevin
http://www.RawFedDogs.net
http://www.Lassie.xyz
http://www.WacoAgilityGroup.org
Bruceville, TX
What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
More information about the Mutt-users
mailing list