amazon-emailer-client-snap-0.1.1.1: Client library for amazon-emailer daemon

Safe HaskellNone

Network.AmazonEmailer.Client.Snap

Synopsis

Documentation

data Email Source

Constructors

Email 

Instances

sendMessage :: HasPostgres (Handler b a) => Email -> Handler b a ()Source

Sends a single plain text message

sendMessageVerbose :: HasPostgres (Handler b a) => Email -> Handler b a ()Source

Sends a single plain text message, writing it out to the stdout.

sendMessageHtml :: HasPostgres (Handler b a) => Email -> Handler b a ()Source

Sends a single html message

sendMessageHtmlVerbose :: HasPostgres (Handler b a) => Email -> Handler b a ()Source

Sends a single html message, writing it out to the stdout

sendMessages :: HasPostgres (Handler b a) => [Email] -> Handler b a ()Source

Sends many plain text messages

sendMessagesVerbose :: HasPostgres (Handler b a) => [Email] -> Handler b a ()Source

Sends many plain text messages, logging the result to stdout

sendMessagesHtml :: HasPostgres (Handler b a) => [Email] -> Handler b a ()Source

Sends many html messages

sendMessagesHtmlVerbose :: HasPostgres (Handler b a) => [Email] -> Handler b a ()Source

Sends many html messages, logging the result to stdout