types and parser for email messages (including MIME)
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-Dispositionheader field (RFC 2183)
Address syntax in
Senderfields (RFC 6854)