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