@hackage / purebred-email

types and parser for email messages (including MIME)

Latest0.7

About

Metadata

  • Last updated , by frasertweedale
  • License AGPL-3.0-or-later
  • Maintained by: frase@frase.id.au

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.12.2
  2. 9.10.2
  3. 9.8.4
  4. 9.6.7

Package Flags

Use the -f option with cabal commands to enable flags

    demos (off by default)

    Build demonstration programs

Readme

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)

  • Author header field (RFC 9057)