In this example, we want to parse all emails at email@example.com and post the parsed email to https://sendgrid.com/email.php.
Given this scenario, the following are the parameters you would set at the Parse API settings page:
To test this scenario, we sent an email to firstname.lastname@example.org and created the following form at https://sendgrid.com/email.php:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
To use the Event Webhook, you must first setup Event Notification.
In this scenario, we assume you’ve set the Event Notification URL to go the endpoint
/parse.php on your server. Given this scenario the following code will allow you to process events:
1 2 3 4 5 6 7 8
get the event webhook up and running easily with our awesome open source app, eventkit <a href=”http://sendgrid.github.io/eventkit/setup.html/” ?>Chick here to get setup</a>.