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

From: Rob Hunter (rob.hunter at gmail.com)
Date: Mon Jan 26 18:46:40 EST 2009


Got it working...


On Mon, Jan 26, 2009 at 11:07 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> 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:
>  http://svn.plt-scheme.org/plt/trunk/collects/sirmail/sendr.ss
>  (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.
> Matthew

Posted on the users mailing list.