Question

I am creating an application in c# which is using Microsoft Windows Azure cloud platform.

I need to know how come I can track email by using the SendGrid service hosted on azure.The Tracking status May be.

4. Track sent emails to determine if they were:
4.1 delivered
4.2 opened
4.3 recipient opt-out
4.4 bounced (with the reason for the bounce)
4.5 time/date sent
4.6 which links in the email were clicked (and time/date they were clicked)
4.7 IP address, if user clicked any links in the email  

Any help will be appreciated.

Was it helpful?

Solution

Those events are sent to you via SendGrid's Event Webhook. To consume the webhook, you must set up a server that accepts POST requests, and processes the data in those POST requests.

This article explains webhooks and and goes on to discuss how to create REST Services in C#, which you'll need to consume the webhook.

Edit: This Github Project acts as a great example of how to use SendGrid's Event Webhook with C#.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top