hsemail

Parsec parsers for the RFC2822 Internet Message format

https://github.com/peti/hsemail#readme

Version on this page:2.1.0
LTS Haskell 22.18:2.2.2
Stackage Nightly 2024-04-22:2.2.2
Latest on Hackage:2.2.2

See all snapshots hsemail appears in

BSD-3-Clause licensed by Peter Simons, Ali Abrar, Gero Kriependorf, Marty Pauley
Maintained by Peter Simons
This version can be pinned in stack with:hsemail-2.1.0@sha256:fec52d591e1001bb1362af43ec6b937d7c84ab33d5fd3438b3b21e2e0449aafe,1437

Module documentation for 2.1.0

  • Text
    • Text.Parsec
      • Text.Parsec.Rfc2234
      • Text.Parsec.Rfc2821
      • Text.Parsec.Rfc2822
Depends on 4 packages(full list with versions):
Used by 2 packages in nightly-2019-06-21(full list with versions):

hsemail

hackage release stackage LTS package stackage Nightly package travis build status

Changes

Change Log for hsemail

v2.1.0

  • Re-write code to use the modern time library rather than old-time.
  • rfc2821: drop the entire smtp FSM stuff
  • hsemail.cabal: drop unnecessary build-depends
  • Drop support for GHC versions prior to 7.10.x.

v2

  • Import Data.Monoid to fix build with GHC 7.8.x.
  • Ensure that body consumes remaining input.
  • Refrain from parsing body.

v1.7.7

  • rfc2822: allow 8 bit characters is message bodys

v1.7.6

  • move the project to github

v1.7.5

  • rfc2822: support obsolete local_part syntax
  • rfc2822: support obsolete domain syntax
  • rfc2822: fixed typo in the parser for domain literals
  • rfc2822: support obsolete quoted-pair syntax
  • Greatly extend the test suite.

v1.7.4

  • rfc2822: fix return_path parser
  • rfc2822: improve documentation (especially subject, comments)

v1.7.3

  • rfc2822: fix infinite recursion between day and obs_day

v1.7.2

  • word parser failed for quoted string prefixed by ws

v1.7.1

  • Updated Gero’s e-mail address.

v1.7

  • Fixed plenty of GHC and HLint warnings.

v1.6

  • rfc2822: derive Show for new GenericMessage type

v1.5

  • Message is now usable with ByteString or other types as body.

1.4

  • Initial version.