postmark-0.0.2: Library for postmarkapp.com HTTP Api

Safe HaskellNone

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!"
   }

Instances

Response types

Internal Json tools

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