Get Potential Reach of Email campaign By SendGrid Event Notification

In my previous blog we have seen the mail sending through the SendGrid.Sendgrid has the amazing event notification feature which is used to make notification on sending mail events like Open,clicked,spammed etc which can be really used as a valuable information to finding  the leads in the marketing.We will see how to configure the event notifications on sending mails with C# and SendGrid.

  Here is the events that they are offering :




To get the events notification :

1.Configure the sending mails through SendGrid. More details here.
2.Set up the Event notification End point in the Application.
3.Configure the end point in the SendGrid Account.

Set up the Event notification in the application:


Create a new asp.net WebAPI application.Add model like blow,


 and create an plain end point,



You can get the code in GIT.

 Configure the end point in the SendGrid Account.

Now we need to set up the ablve end point the sendgrid account.Sign in to your account, in settings-> mail settings-->select event notifications -->selects the events you want.and add end point and save.


Now check sending mail and get notified ,on processed->delivered.On open the mail get notification on Open.On clicking the link in the mail you will get clicked notification too.


For more details checkout Sendgrid doc.

Simple ! Happy programming!!

Referance:

https://github.com/AnuOuseph1991/SendGrid-Integration-with-C-



Comments

Popular posts from this blog

Telerik c# MVC Grid customizing Paging with Custom sql query + Dapper

Configure Facebook Webhook[WebSub protocol]

SendGrid Integration with c#