Email status from send grid

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.
yadavdepAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
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.
0
Chinmay PatelChief Technical NinjaCommented:
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.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
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.
0
yadavdepAuthor Commented:
Thank you for your help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.