sendgrid-haskell: Sengrid API

[ library, mit, web ] [ Propose Tags ]

A Haskell SendGrid API client

[Skip to Readme]




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 1.0
Dependencies aeson, base (>=4 && <5), bytestring, containers, exceptions, http-conduit, monad-control, text, transformers [details]
License MIT
Author Owain Lewis
Category Web
Home page
Uploaded by owainlewis at 2015-04-21T18:45:26Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 917 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-04-21 [all 1 reports]

Readme for sendgrid-haskell-1.0

[back to package description]

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