How to check for scanned letters in rails?

I am currently creating an email application that can send emails to many users. However, I want to know if there are bouncing letters. I am currently using Amazon SAS to notify me if a letter bounces. However, I want the returned email data to be automatically entered into my Rails application instead of manually entering it based on the mail program daemons that I receive from Amazon. Is there any way to do this?

+4
source share
3 answers

If you're willing to pay, this SaaS site called bouncely seems to provide an interface and api wrapper around SES failures.

0
source

send_email () returns a response object that can be polled for response metadata .

Compare the state of this with the code that interests you, maybe 550.

0
source

I could not find any clean existing solution for this, so I wrote gem ( email_events ) which allows you to put the email message handler method (including for failure events) directly into your mail program class: https://github.com / 85x14 / email_events . It supports SES and Sendgrid, so it should work for you if you still need to.

0
source

All Articles