Description
Sengrid API.
Description
A Haskell SendGrid API client
README.md
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 = "[email protected]"
, from = "[email protected]"
, subject = "Hello World"
, text = "OH HAI"
-- Send it ! : )
SendGrid.sendEmail (Authentication "USERNAME" "PASSWORD") message