[Haskell-cafe] ANNOUNCE: mime-mail 0.1.0

Nicolas Pouillard nicolas.pouillard at gmail.com
Thu Dec 9 11:25:30 CET 2010


On Thu, 09 Dec 2010 01:10:59 +0000, Maciej Piechotka <uzytkownik2 at gmail.com> wrote:
> On Wed, 2010-12-08 at 21:11 +0200, Michael Snoyman wrote:
> > Hi all (again),
> > 
> > I'm happy to announce the second major release of the mime-mail[1]
> > package. mime-mail is a package providing support for rendering
> > multipart emails. This new release introduces:
> > 
> > * A partHeaders record, allowing you to place arbitrary headers on
> > individual parts of a message. This is especially useful for ContentID
> > * Support for quoted-printable. There are two new Encoding
> > constructors added: QuotedPrintableText and QuotedPrintableBinary.
> > They differ in how they treat newline characters: the latter outputs
> > CRs and LFs in an escaped form, while the former strips all CRs and
> > outputs LFs as the ASCII codes for "\r\n".
> > * Support for encoded-word for header values. This is a completely
> > transparent change: now if you use non-ASCII characters in your header
> > values, mime-mail will automatically encode appropriately.
> > 
> > Enjoy!
> > Michael
> > 
> > [1] http://hackage.haskell.org/package/mime-mail
> 
> Sorry I'm asking here (I know it is slightly off-topic) - does anyone
> knows package to parse MIME messages operating on ByteString/Text
> instead of String (reverse of mime-mail)?

I have a fork of the mime library to work on bytestring, it worked for
me but didn't took the time to release it. (I sent multiple mails to
the original author though). I've just setup a repo on github [1], feel
free to test, fork, polish...

Have fun,

[1]: https://github.com/np/mime-bytestring

-- 
Nicolas Pouillard
http://nicolaspouillard.fr



More information about the Haskell-Cafe mailing list