The postie package

[ Tags: 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.

Properties

Versions 0.1.0.0, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.4.0.0, 0.5.0.0
Dependencies attoparsec (>=0.10.4.0), base (>=4 && <=5), bytestring (>=0.10.0.2), cprng-aes (>=0.5.2), data-default-class (>=0.0.1), mtl (>=2.1.2), network (>=2.4.1.2), pipes (>=4.1.0), pipes-bytestring, pipes-parse (>=3.0.1), postie, stringsearch, tls (>=1.2.6), transformers (>=0.3.0.0), uuid (>=1.3.3) [details]
License BSD3
Author Alex Biehl
Maintainer alex.biehl@gmail.com
Category Network
Source repository head: git clone https://github.com/alexbiehl/postie.git
Uploaded Wed May 7 15:30:03 UTC 2014 by alexbiehl
Distributions NixOS:0.5.0.0
Executables postie-example-tls, postie-example-simple
Downloads 1725 total (17 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
examples

Build examples

DisabledManual

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees