- 确认您在发送电子邮件之前已验证发送者电子邮件地址。
- 确认您正在使用有效的Amazon SES身份验证凭据。
- 如果使用Amazon SES SDK发送电子邮件,请确保正确设置AWS SDK。以下是一个示例Python代码片段,其中设置了AWS SDK:
import boto3
Create an SES client
client = boto3.client('ses')
...
Use the client to send email
response = client.send_email(
# ...
)