Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data HandlerResponse
- data Mail = Mail {
- mailSessionID :: SessionID
- mailAuth :: Maybe ByteString
- mailSender :: Address
- mailRecipients :: [Address]
- mailBody :: Producer ByteString IO ()
- type Application = Mail -> IO HandlerResponse
Documentation
data HandlerResponse Source #
Handler response indicating validity of email transaction.
Received email
|
type Application = Mail -> IO HandlerResponse Source #
Application which receives Mails from postie An Application has to fully consume the mailBody part of a mail, the behaviour is undefined if not.