postie: SMTP server library to receive emails from within Haskell programs.

[ bsd3, library, network ] [ Propose Tags ]

postie is a little smtp server library for receiving emails. It is currently in a very early stage and not yet fully standard compatible although the standard protocol is already supported.

postie supportes hooks on key commands in an smtp session like

To run postie you only need to supply a function which takes a Mail and return Accepted or Rejected. mailBody is a pipes Producer which streams the encoded body directly to your application code. The body is not parsed by postie since it depends on what the application wants to do with the mail data. Eventually I will create a seperate package for parsing mime messages with `pipes-parse` when postie becomes more stable and standard compliant.

Versions [RSS] [faq],,,,,,,,,
Dependencies attoparsec (>=0.13.2 && <0.14), base (>=4.13.0 && <4.14), bytestring (>=0.10.10 && <0.11), data-default-class (>=0.1.2 && <0.2), mtl (>=2.2.2 && <2.3), network (>=3.1.1 && <3.2), pipes (>=4.3.14 && <4.4), pipes-bytestring (>=2.1.6 && <2.2), pipes-parse (>=3.0.8 && <3.1), postie, tls (>=1.5.4 && <1.6), uuid (>=1.3.13 && <1.4) [details]
License BSD-3-Clause
Author Alex Biehl
Category Network
Source repo head: git clone
Uploaded by malvo at 2020-10-07T12:47:05Z
Distributions NixOS:
Executables postie-example-tls, postie-example-simple
Downloads 5833 total (34 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]


[Index] [Quick Jump]

Manual Flags


Build examples

Automatic Flags

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


Maintainer's Corner

For package maintainers and hackage trustees