sendgrid-haskell: Sengrid API

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


A Haskell SendGrid API client

[Skip to ReadMe]


Versions1.0, 1.0
Change logNone available
Dependenciesaeson, base (==4.*), bytestring, containers, exceptions, http-conduit, monad-control, text, transformers [details]
AuthorOwain Lewis
Home page
UploadedTue Apr 21 18:45:11 UTC 2015 by owainlewis




Maintainers' corner

For package maintainers and hackage trustees

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