postmark-0.2.1: Library for postmarkapp.com HTTP Api

Safe HaskellNone
LanguageHaskell98

Network.Api.Postmark.Data

Contents

Synopsis

Request types

data Email Source #

Email data type. It is recommended that you use the defaultEmail function and selector syntax to build an email, e.g.:

defaultEmail {
    emailFrom = "you@yourdomain.com"
  , emailTo = "person@example.com"
  , emailSubject = "This is an example email!"
  }

Response types

Internal Json tools

oljson :: ToJSON b => Text -> [a] -> ([a] -> b) -> Maybe (Text, Value) Source #