简体   繁体   中英

How to get email status using sendgrid api c#?

I need get each email status whether it is delivered, bounces, etc.,

Only i'm able to getting the total count of each status. But i need to get by each email id or message id(After sent).

You need SendGrid's Event Webhook implementation. They do not have a per-message "pull" method, but the Event Webhook is a near-live "push" method, which will send you all the data/events from all your messages as they happen.

This is accomplished using SendGrid's EmailActivity API. You have to purchase "Additional Email Activity History" on your account in order to access this API. I think it's an extra $5/month at time of this answer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM