Hey, I'm trying to send emails with my newly created email account info@mydomain.com.
I'm always getting this email returned:
*Sending Email failed.
Could not send email.
SubmitId: E5C4D5F784298A6BDD19AA964A874B40
Your administrator needs to give permissions to WorkMail to perform e-mail sending on your behalf.
To give WorkMail sending permissions, follow the instructions here:
https://docs.aws.amazon.com/workmail/latest/adminguide/editing_domains.html*
The description in the link does not fit to the current UI, but I supposed I found the right place.
So I created the following Policies related to the email account
{
"Version": "2012-10-17",
"Id": "ExampleAuthorizationPolicy",
"Statement": [
{
"Sid": "AuthorizeAccount",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::AccountID:root"
},
"Action": [
"ses:*",
"ses:SendBounce",
"ses:SendRawEmail"
],
"Resource": "arn:aws:ses:eu-west-1:AccountID:identity/info@mydomain.com"
}
]
}
{
"Version": "2012-10-17",
"Id": "ExampleAuthorizationPolicy",
"Statement": [
{
"Sid": "AuthorizeAccount",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::AccountID:root"
},
"Action": [
"ses:*",
"ses:SendBounce",
"ses:SendRawEmail"
],
"Resource": "arn:aws:ses:eu-west-1:AccountID:identity/mydomain.com"
}
]
}
I'm running out of ideas why I still can't send emails from WorkMail.
Cool!, works now! But where could I've found this information myself? Thank you
Hi,
The documentation for the WorkMail service principal will go live later today. The WorkMail service principal is new as before this change the policy would contain a WorkMail account Id. I will check if we can add extra warnings on the documentation page you received in the bounce message.
Kind regards, Robin