检索通过SendGrid发送的电子邮件的状态 [英] Retrieving the status of emails sent via SendGrid
问题描述
我正在使用Microsoft Windows Azure云平台的c#创建一个应用程序。
I am creating an application in c# which is using Microsoft Windows Azure cloud platform.
我需要知道如何使用托管的SendGrid服务来跟踪电子邮件
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
任何帮助将不胜感激。
推荐答案
这些事件通过 SendGrid的事件Webhook 发送给您。要使用Webhook,必须设置一个服务器来接受POST请求,并处理这些POST请求中的数据。
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.
此文章介绍了webhooks ,并继续讨论了如何创建 C#中的REST服务,您将需要消耗Webhook。
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.
编辑:此 Github项目很好地说明了如何在C#中使用SendGrid的事件Webhook。
Edit: This Github Project acts as a great example of how to use SendGrid's Event Webhook with C#.
这篇关于检索通过SendGrid发送的电子邮件的状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!