Closed chris-scentregroup closed 6 years ago
Also tested sending to the simulator with above awscli command and "ToAddresses=success@simulator.amazonses.com"
with no error back. It kind of feels as though an old error is cached or something..
Have also just performed a stack update to see if this helps, but no bueno.
I'm not sure why it happens... CloudWatch Logs saves detailed logs, so can you check the log? To see it, access the CloudWatch Logs page (the region should be same as the cloudformation stack) and choose the Log Groups /aws/lambda/[Your stack name]-PatchSettings
.
Some random thoughts are:
Thanks @ks888 I think it is likely the second point - the SES, DNS, DKIM etc. is in a different AWS account. Let me see if it is possible to move that.
I see. DNS can be in the different account, but the SES verified domain must be in the same account.
Ok, that was exactly it. Worked without a hitch now and managed to keep it all in infra code using https://github.com/skyscrapers/terraform-ses as a base. Thank you once again for your kind attention to service, @ks888 !
Upon saving the setting, I receive:
I understand the SES simulator is used, but I'm unsure how to replicate it.
If I send the mail using SES, it works fine, e.g.:
I have completed the domain verification and have the SES sandbox removed per the prereqs in https://lambstatus.github.io/set-up-email-notification.
Advice on how to diagnose/solve appreciated.