I use AWS SES to distribute mail from the Rails application all at once.
There are five or six bounces a week (no mail delivered) and we are able to detect the bounces.
Currently, I have been doing such manual operations since I can send individual bounce emails from my Gmail account without any problems.
However, it is difficult to do it manually every time, so I would like to release the bounce mail from SES so that it can be sent.
We would like to take action in the following cases.
Question 1
Is this possible?
Question 2
Also, I would like to understand the trend of email addresses caught in past bounce emails.
I was wondering if I could get something like a bounce mail list using the AWS CLI, so I was looking for AWS documents, but I couldn't find them.Is it possible to get a list of bounce emails?
Question 3
Since the mail log on the web application side contained the following domains along with status=bound
, is Outlook likely to be the cause?
xxxx.mail.protection.outlook.com
Thank you for your cooperation.
aws
(Question 1)
I think it depends on the reason for the bounce, but
In case of hard bounce (for example, unknown address, wrong email address, rejected, etc.), it is difficult to remove the cause, so it is better not to send it again.
In the case of soft bouncing, retransmission may work after a certain period of time.
If you can send it by Gmail, you can automate it by creating a program that triggers a bounce notification and sends it by Gmail for soft bounce.
(Question 2)
I can't take out the past.
I think we have no choice but to save data for future bounce notifications.
(Question 3)
If you look around bounceType bounceSubType boundRecipients in the bounce notification, you may find some reason.
Please refer to Contents of Amazon SES' Amazon SNS notification - Amazon Simple Email Service
© 2024 OneMinuteCode. All rights reserved.