Email status from send grid

yadavdep
yadavdep used Ask the Experts™
on
I have a need where I need to get the status of the email which I sent from SendGRID.

I need is there any by which I can  do it without using webhooks.

Our application sends multiple emails to different customers so , I need to get the status for them.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
David FavorFractional CTO
Distinguished Expert 2018

Commented:
https://sendgrid.com/docs/API_Reference/api_v3.html describes possible SendGrid API calls.

Code you write will be very specific to your application.

Hint: Webhooks are better, as they fire asynchronously. If you try checking status of even a few 1000s of email addresses, time for calls will be long + if you attempt calls to frequently, likely SendGrid rate limits will kick in.

https://sendgrid.com/docs/API_Reference/Web_API_v3/How_To_Use_The_Web_API_v3/rate_limits.html covers details about rate limiting.

Likely best to hire someone to provide you with a working solution for your specific application.

https://github.com/sendgrid/sendgrid-php is an example of the PHP library SendGrid provides. They provide libraries for several languages.
Chief Technology Ninja
Distinguished Expert 2018
Commented:
Hi Yadavdep,

Any specific reason you don't want to use the Webhook? Also the WEB API of SendGrid will not let you track individual emails - just the aggregates. I do not think that is what you want.

And for ASP.Net I recommend that you use https://github.com/sendgrid/sendgrid-csharp.

If you are facing any challenges implementing Webhook, let me know.

Regards,
Chinmay.
David FavorFractional CTO
Distinguished Expert 2018

Commented:
Webhooks are definitely the way to go.

As Chinmay suggested, if you require assistance with webhooks... they're so easy to use... you can find developers for this type of work easily.

Author

Commented:
Thank you for your help.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial