sendgrid-sdk

Master Branch Build Status

An API for interacting with SendGrid, including sending emails and receiving webhooks

Webhooks

Easily listen to webhooks using this module. Simply point Sendgrid to https://<your-server>/sendgrid/webhooks and this module will translate all Sendgrid events to ColdBox interceptors.

The following are the interceptors that are created and the Sendgrid event they correspond with:

  • onSendgridEventProcessed => processed
  • onSendgridEventDropped => dropped
  • onSendgridEventDelivered => delivered
  • onSendgridEventDeferred => deferred
  • onSendgridEventBounce => bounce
  • onSendgridEventOpen => open
  • onSendgridEventClick => click
  • onSendgridEventSpamreport => spamreport
  • onSendgridEventUnsubscribe => unsubscribe
  • onSendgridEventGroupUnsubscribe => group_unsubscribe
  • onSendgridEventGroupResubscribe => group_resubscribe

The interceptData is the data sent from Sendgrid.

CHANGELOG

1.0.0

  • Initial Release

 

 
$ box install sendgrid-sdk
No collaborators yet.
  • Dec 05 2017 04:03 PM
  • Dec 11 2017 11:38 PM
  • 262
  • 167
  • 28