SES消息返回状态为200,但消息未到达

我正在用ses.send_email发送自己的电子邮件,状态为200,但消息未到达我的电子邮件。任何暗示我在做什么错?

import boto3
from botocore.config import Config as BotoCoreConfig

boto_config = BotoCoreConfig(region_name='us-east-1')
ses_client = boto3.client('ses',aws_access_key_id=AWS_accESS_KEY_ID,aws_secret_access_key=AWS_SECRET_accESS_KEY,config=boto_config)

def ses_report(message):
    response = ses_client.send_email(
        Source='a_valid_admin@mydomain.com',Destination={
            'ToAddresses': [
                'myemail@mydomain.com',]
        },Message={
            'Subject': {
                'Data': message,},'Body': {
                'Text': {
                    'Data': message,'Html': {
                    'Data': message,}
            }
        }
    )
    log.info(response)

ses_report('Test messages')

获得此回复:

{'ResponseMetadata': {'RetryAttempts': 0,'HTTPStatusCode': 200,'RequestId': '2f...','HTTPHeaders': {'x-amzn-requestid': '2f..','date': 'Sun,05 Jan 2020 07:51:14 GMT','content-length': '326','content-type': 'text/xml'}},u'MessageId': '010..00'}
bojing521 回答:SES消息返回状态为200,但消息未到达

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2818132.html

大家都在问