Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- email :: Email -> PostmarkRequest' Sent
- emails :: [Email] -> PostmarkRequest' [Sent]
- emailWithTemplate :: EmailWithTemplate -> PostmarkRequest' Sent
- request :: PostmarkSettings -> PostmarkRequest e a -> IO (PostmarkResponse e a)
API endpoints
email :: Email -> PostmarkRequest' Sent Source #
Send a single email: http://developer.postmarkapp.com/developer-build.html
emails :: [Email] -> PostmarkRequest' [Sent] Source #
Bulk send emails: http://developer.postmarkapp.com/developer-build.html#batching-messages
emailWithTemplate :: EmailWithTemplate -> PostmarkRequest' Sent Source #
Send a single email using a template: https://postmarkapp.com/developer/api/templates-api#email-with-template
Run a request
request :: PostmarkSettings -> PostmarkRequest e a -> IO (PostmarkResponse e a) Source #
Run the specified request with the specified settings.