[plt-scheme] creating MIME-encoded emails with PLT Scheme

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Jan 26 14:07:52 EST 2009

At Mon, 26 Jan 2009 11:00:46 -0800, Rob Hunter wrote:
> I'm looking for a way to construct emails that are MIME-encoded using
> PLT Scheme.  In particular, I'd like to send an email that contains
> embedded images.  Using net/smtp and related libraries, getting a
> plain email to send was a snap, but I don't see any libraries dealing
> with encoding MIME.  (I've found what seems to satisfy the reverse
> problem: http://download.plt-scheme.org/doc/html/net/mime.html#(mod-
> path._net/mime-unit).)

There is some MIME-creation code in SirMail:

 (search for words like "mime" and "enclosure")

It should be lifted out into a separate library, but no one has ever
gotten around to that.


Posted on the users mailing list.