postie 0.2.0.0 → 0.2.0.1
raw patch · 1 files changed
+13/−7 lines, 1 files
Files
- postie.cabal +13/−7
postie.cabal view
@@ -1,20 +1,26 @@ name: postie-version: 0.2.0.0+version: 0.2.0.1 cabal-version: >=1.10 build-type: Simple license: BSD3 license-file: LICENSE maintainer: alex.biehl@gmail.com+synopsis: A library to receive emails from within Haskell programs.+category: description: `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.- - At the time of writing parameters on smtp commands can not be parsed.- - Handler functions need to return more detailed information to cancel a transaction.+ .+ * At the time of writing parameters on smtp commands can not be parsed.+ * Handler functions need to return more detailed information to cancel a transaction.+ . `postie` supportes hooks on key commands in an smtp session like- - on connection open and close- - on `MAIL FROM` command e.g. to intercept transaction if sender is blacklisted- - on `RCPT TO` command e.g. to check if recipient is existent on your server- - and many more+ .+ * on connection open and close+ * on /MAIL FROM/ command e.g. to intercept transaction if sender is blacklisted+ * on /RCPT TO/ command e.g. to check if recipient is existent on your server+ * and many more+ . 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