mandrill-0.5.3.6: Library for interfacing with the Mandrill JSON API

Safe HaskellNone
LanguageHaskell2010

Network.API.Mandrill.Messages

Synopsis

Documentation

send Source #

Arguments

:: MandrillKey

The API key

-> MandrillMessage

The email message

-> Maybe Bool

Enable a background sending mode that is optimized for bulk sending

-> Maybe Text

ip_pool

-> Maybe UTCTime

send_at

-> Maybe Manager 
-> IO (MandrillResponse [MessagesResponse]) 

Send a new transactional message through Mandrill

sendTemplate Source #

Arguments

:: MandrillKey

The API key

-> MandrillTemplate

The template name

-> [MandrillTemplateContent]

Template content for 'editable regions'

-> MandrillMessage

The email message

-> Maybe Bool

Enable a background sending mode that is optimized for bulk sending

-> Maybe Text

ip_pool

-> Maybe UTCTime

send_at

-> Maybe Manager 
-> IO (MandrillResponse [MessagesResponse]) 

Send a new transactional message through Mandrill using a template