Sending email from a Haskell program

Hello, Does anyone have a library for sending email from a Haskell program? I'd like something portable and cabalised. I note there is code in darcs to send email on Windows and UNIX-y systems, and also something in WASH (I know not what). Apparently there is an SMTP server of some kind (?) in HAppS, but I want to re- use the system's MTA. BTW is anyone else looking at the darcs codebase and thinking that there are many useful libraries lurking there? cheers peter

At Wed, 26 Sep 2007 22:11:12 +0700, Peter Gammie wrote:
Hello,
Does anyone have a library for sending email from a Haskell program? I'd like something portable and cabalised.
I note there is code in darcs to send email on Windows and UNIX-y systems, and also something in WASH (I know not what). Apparently there is an SMTP server of some kind (?) in HAppS, but I want to re- use the system's MTA.
Another not-quite-there-yet solution is to use this library to create a mime message: http://www.n-heptane.com/nhlab/repos/haskell-mime/ In Text.MIME.Compose there is a wrapper for calling sendmail (so, its not portable yet). That MIME library is currently undergoing a very slow rewrite. The next version will have a different API, and will have support for things like attachments, multipart messages, etc. If you just want to send basic text emails, the current version might work for you... j.

an IMAP library might make for a good bounty project...i figure that you would indeed need to pay someone to untangle that standard

clawsie:
an IMAP library might make for a good bounty project...i figure that you would indeed need to pay someone to untangle that standard
jmuk's HaskellNet project from last year? http://darcs.haskell.org/SoC/haskellnet/HaskellNet/IMAP.hs -- Don

jmuk's HaskellNet project from last year?
sweet! was there any documentation created for this? examples? anything? have people tried to make this work with ssl/tls libs? by the way there looks like some other gems in the haskellnet dir. what exactly was haskellnet - a project to code to the major network protocols? are these libs stable? how does the HTTP lib stack up against Network.HTTP? any info on this project would be appreciated.
participants (4)
-
brad clawsie
-
Don Stewart
-
Jeremy Shaw
-
Peter Gammie