purebred-email

types and parser for email messages (including MIME)

https://github.com/purebred-mua/purebred-email

Latest on Hackage:0.6.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

AGPL-3.0-or-later licensed by Fraser Tweedale
Maintained by [email protected]

The purebred email library. RFC 5322, MIME, etc. See Data.MIME for usage, examples and API documentation.

This is a general-purpose library for processing and constructing email messages, originally written to meet the needs of purebred MUA. Transmission and delivery of mail are not part of this library, but purebred-email could be a useful building block for such systems.

Features and implemented specifications include:

  • RFC 5322 message parsing and serialisation

  • MIME multipart messages (RFC 2046)

  • Convenient APIs for replying and forward/bounce

  • Content transfer and charset decoding/encoding

  • MIME message header extensions for non-ASCII text (RFC 2047)

  • MIME parameter value and encoded word extensions (RFC 2231)

  • Content-Disposition header field (RFC 2183)

  • Address syntax in From and Sender fields (RFC 6854)