1
votes

I am trying to figure out how can I make it possible to send an email from my application to Sendgrid and have it come back.

I want to use coldfusion to send an email using X-SMTP API. I found a documentation online here but still wondering if there's any documentation available other than the web API one?

http://thehatrack.net/blog/integrating-sendgrid-with-your-coldfusion-application/

1
What do you mean by "have it come back"? You can send your email via Sendgrid just by using their SMTP server. That's the easiest way to do it.acfrancis
Sorry for the confusion, by have it come back, I mean some sort of response whether the email has been read or not. I was wondering some sort of procedure that is mentioned in the above link but not using Web API.Jack
I don't think there is another way. As far as I know, you have to have a page that SendGrid can post to with the email activity events. It should be simple to implement but I haven't got around to doing it myself yet.acfrancis
@acfrancis While exploring, Sendgrid, I have also noticed that sendgrid does sends some responses like, Open, Clicks, Bounce etc. So, I was actually referring to it by saying "have it come back".Jack
Do you mean through the Event Webhook (sendgrid.com/docs/API_Reference/Webhooks/event.html)?acfrancis

1 Answers

5
votes

SendGrid's Event Webhook is the only way to get email reads on an individual basis. This will POST an event to your server every time an email is read (among several other events).

The only "pull" based solution to get individual email events from SendGrid is the bounces endpoint, which will tell you when an email bounces (and is certainly not read), but nothing else.

If you want to retrieve individual read events from SendGrid, you'll need to connect the Event Webhook to an external service like Keen.io, and then leveraging their API to get individual events.