purebred-email: types and parser for email messages (including MIME)

[ agpl, data, email, library ] [ Propose Tags ] [ Report a vulnerability ]

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)

Flags

Automatic Flags
NameDescriptionDefault
demos

Build demonstration programs

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.3.0.0, 0.3.1, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.5, 0.5.1, 0.6, 0.6.0.1, 0.6.0.2
Change log CHANGELOG.md
Dependencies attoparsec (>=0.13 && <0.15), base (>=4.11 && <5), base64-bytestring (>=1 && <2), bytestring (>=0.10 && <0.13), case-insensitive (>=1.2 && <1.3), concise (>=0.1.0.1 && <1), deepseq (>=1.4.2), lens (>=4 && <6), purebred-email, random (>=1.2.0), semigroupoids (>=5 && <7), stringsearch (>=0.3), text (>=1.2), time (>=1.9) [details]
Tested with ghc ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.7 || ==9.6.3 || ==9.8.1
License AGPL-3.0-or-later
Copyright Copyright 2017-2021 Fraser Tweedale
Author Fraser Tweedale
Maintainer frase@frase.id.au
Category Data, Email
Home page https://github.com/purebred-mua/purebred-email
Bug tracker https://github.com/purebred-mua/purebred-email/issues
Source repo head: git clone https://github.com/purebred-mua/purebred-email.git
Uploaded by frasertweedale at 2023-10-25T02:26:16Z
Distributions NixOS:0.6.0.2
Executables purebred-email-parse
Downloads 4373 total (53 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-10-25 [all 1 reports]