4

I'm looking for a Haskell library that can parse RFC2822 email bodies to extract the content, including attachments.

The only one I see is Text.ParserCombinators.Parsec.Rfc2822 from the hsemail package, but the author warns that it is not entirely up to par.

http://hackage.haskell.org/packages/archive/hsemail/1.0/doc/html/Text-ParserCombinators-Parsec-Rfc2822.html

dan
  • 43,914
  • 47
  • 153
  • 254

2 Answers2

2

What about Codec.MIME.Parse http://hackage.haskell.org/package/mime-0.3.3.2?

nponeccop
  • 13,527
  • 1
  • 44
  • 106
0

There is also http://hackage.haskell.org/packages/archive/hsemail/1.7.2/doc/html/Text-ParserCombinators-Parsec-Rfc2822.html#g:11

singpolyma
  • 10,999
  • 5
  • 47
  • 71