You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I verified a domain identity (example.com) in account 1 in eu-west-1 region with an authorization policy which allows account 2 to send emails using this domain identity and I created lambda function in account 2 in eu-west-1 region with these permissions :
Describe the bug
I verified a domain identity (example.com) in account 1 in eu-west-1 region with an authorization policy which allows account 2 to send emails using this domain identity and I created lambda function in account 2 in eu-west-1 region with these permissions :
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"ses:SendTemplatedEmail",
"ses:SendRawEmail",
"ses:SendEmail",
"ses:SendBulkTemplatedEmail"
],
"Effect": "Allow",
"Resource": "*",
}
]
}
And I verified the recipient identity [email protected] in account 2
Python 3.11 code
import boto3
from botocore.exceptions import ClientError
Create a new SES resource and specify a region.
client = boto3.client('ses',region_name="eu-west-1")
def lambda_handler(event, context):
Try to send the email.
Expected Behavior
{
'MessageId': 'EXAMPLEf3f73d99b-c63fb06f-d263-41f8-a0fb-d0dc67d56c07-000000',
'ResponseMetadata': {
'...': '...',
},
}
Current Behavior
ERROR MESSAGE
Email address is not verified. The following identities failed the check in region EU-WEST-1: [email protected]
Reproduction Steps
import boto3
from botocore.exceptions import ClientError
Create a new SES resource and specify a region.
client = boto3.client('ses',region_name="eu-west-1")
def lambda_handler(event, context):
Try to send the email.
Possible Solution
No response
Additional Information/Context
No response
SDK version used
boto3 1.28.55
Environment details (OS name and version, etc.)
AWS Lambda
The text was updated successfully, but these errors were encountered: