Django app to receive incoming emailnotification events from sendgrid
Project description
[![Build Status](https://api.travis-ci.org/agiliq/sendgrid-eventhooks.svg?branch=master)](https://travis-ci.org/agiliq/sendgrid-eventhooks)
Django app to receive incoming email notification events from sendgrid
Sendgrid has an incoming event api which will parse incoming emails and send them to a webhook.
https://sendgrid.com/docs/API_Reference/Webhooks/parse.html
This app provides the webhook to receive this in your Django projects.
Installation
pip install -r sendgrid_eventhooks
Usage
Add sendgrid_events to your installed_apps
Add to urls.py url(“sendgrid”, include(“sendgrid_events.urls”))
Associate the Domain/Hostname and the URL in the Parse API settings page. Parse API settings page is at https://sendgrid.com/developer/reply
Now whenever sendgrid receives the email, it will post to this webhook.
This webwook will consume the data and send a signal called sendgrid_email_received. This will have a data attribute with the data received from sendgrid.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sendgrid_eventhooks-0.1.1.tar.gz
.
File metadata
- Download URL: sendgrid_eventhooks-0.1.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e039e205f280c76e35fdf3f3ebd6beffcd971dbd135fc1c6ee83574b1a417e |
|
MD5 | 7ea73d50754f780240f2617e4749f966 |
|
BLAKE2b-256 | 4ad093041e6c9b231b447d0a183d8a3f1fc8de860d981930572e22fccd68aa5d |