smarkmail: now almost usable

A while ago, I wrote about smarkdown, my little program that “upgrades” email from plaintext to multipart alternative mail with plaintext and HTML alternatives.

I finally got around to updating it to handle messages with attachments. I punted on a few problems, like deciding who gets HTML mail and who doesn’t (everyone does) and how to deal with deficiencies in Email::Send (I just use the ever-unreleased Email::Sender). A few more problems will require that I figure out how to abuse mutt some more. Smarkdown should really alter the message before mutt sends it to sendmail, because then mutt can still let me digitally sign the message. Unfortunately, none of the send-hooks in mutt seem to make this possible.

Anyway, I’m not quite ready to use this all the time, yet, but now anybody else can, because it’s on the CPAN. It relies on Email::Sender, which isn’t, but Email::Sender is in Subversion, so there’s that.

I’ll hopefully be able to use this as some minor reason to get Email::Sender, and related code, released.

Written on February 25, 2008
📧 email
🐪 perl
🧑🏽‍💻 programming