'SendGrid - How to validate email delivery when mail is send via SendGrid
Our team recently used SendGrid to build a new email service. From the standpoint of testing, we have a use case to determine whether or not the email was sent.
We discovered inbound parse while seeking a solution. This inbound parsing takes incoming emails and redirects them to a webhook URL. There are some problem statements that prevent us from completing validation with inbound parsing, and there are some access reasons that prevent us from doing so.
I'd like to know if there is another method to accomplish this.
Solution 1:[1]
I think you're looking for the Event Webhook rather than the Inbound Parse Webhook. The Event Webhook will batch up and send events based on the emails you've sent, in this case when you receive the "delivered" event it tells you that the email has been successfully delivered to the receiving server.
There are other delivery events that are useful too, like "deferred", "bounced", or "blocked". And other events, like engagement events such as "open" or "click".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | philnash |