ANNOUNCE: Another Haskell MIME Library
Hello, I would like to announce the availability of my partially complete MIME processing library. This library is supposed to be able to parse emails and decode various attachments, and generate emails with attachments. The library includes modules that implement portions of: RFC 2045 - Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies RFC 2046 - Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types RFC 2387 - The MIME Multipart/Related Content-type RFC 2822 - Internet Message Format This library is intended to parse real emails -- so it is not a strict as the specifications. TODO: There is enough code in place to read in a multipart email with attachments and decode the parts into an output directory. I believe there is less support for encoding messages. So, in terms of basic functionality, there is still a fair bit left to do. The library namespace is probably wrong, instead MIME.* I should probably move it to Text.MIME.* or something. More significantly, the library was written prior to ByteString -- it would make a lot of sense to update it to support lazy byte strings, since MIME messages are often rather large. In any case, I wanted to release this library now since I know other people are already duplicating some (all?) of the work :) I am quite happy to accept patches. If someone else has a better code base already, I am happy to jump ship and work on that code instead. Either way, I am trying to get a usuable MIME library by the end of the month. AVAILABILITY: darcs get http://www.n-heptane.com/nhlab/repos/haskell-mime There is also a short blurb about it on the bottom of this page: http://www.n-heptane.com/nhlab/ j.
On 12/2/06, Jeremy Shaw <jeremy.shaw@linspireinc.com> wrote:
In any case, I wanted to release this library now since I know other people are already duplicating some (all?) of the work :) I am quite happy to accept patches. If someone else has a better code base already, I am happy to jump ship and work on that code instead.
WASH has one, and I uploaded mine to http://www.taral.net/mime.tar.gz for people to look at and use. -- Taral <taralx@gmail.com> "You can't prove anything." -- Gödel's Incompetence Theorem
taralx:
On 12/2/06, Jeremy Shaw <jeremy.shaw@linspireinc.com> wrote:
In any case, I wanted to release this library now since I know other people are already duplicating some (all?) of the work :) I am quite happy to accept patches. If someone else has a better code base already, I am happy to jump ship and work on that code instead.
WASH has one, and I uploaded mine to http://www.taral.net/mime.tar.gz for people to look at and use.
Are these now documented on haskell.org's libraries page? http://haskell.org/haskellwiki/Libraries_and_tools Under: http://haskell.org/haskellwiki/Libraries_and_tools/Network or a new category for Language.* 's? If its not on the libraries page, people won't know about it... -- Don
On 12/2/06, Donald Bruce Stewart <dons@cse.unsw.edu.au> wrote:
WASH has one, and I uploaded mine to http://www.taral.net/mime.tar.gz for people to look at and use.
Are these now documented on haskell.org's libraries page? http://haskell.org/haskellwiki/Libraries_and_tools
WASH should be. Mine's not really anything I'm proud enough of to document. :) It needs rewriting with a parsing monad and some cleanups. MIME/Util.hs is particularly heinous. -- Taral <taralx@gmail.com> "You can't prove anything." -- Gödel's Incompetence Theorem
participants (3)
-
dons@cse.unsw.edu.au -
Jeremy Shaw -
Taral