Sengrid API

Latest on Hackage:1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

MIT licensed by Owain Lewis
Maintained by

Sendgrid API -------------------------------

Haskell utility for sending Email with Sendgrid

You will need a Sendgrid username and password to use this library.

import qualified Network.Sendgrid.Api as Sendgrid

-- Create an Email message

message = SendGrid.EmailMessage { to      = ""
                                , from    = ""
                                , subject = "Hello World"
                                , text    = "OH HAI"
-- Send it ! : )

SendGrid.sendEmail (Authentication "USERNAME" "PASSWORD") message
comments powered byDisqus