Scenario: We received the AWS credentials but were not able to decide what was the quickest way to test if the mail service was working correctly.
Few minutes on google and there was a python script which we modified to our test case. All your need to do is key in your AWScredentials.
What is the good thing about this script? The script writes a detailed log so for example in our case the program was accidentally changed and the from email address was changed. Even though we had Production access enabled we were not able to send emails at all.
I am attaching the script output for quick reference
Notice that it clearly says 554, 'Message rejected: Email address is not verified.'
Tip: The production access allows to send email to any email id but it restricts that the "from" address at least must be verified if not the domain. This was the culprit in our case as the from email id was not verified.
No comments:
Post a Comment