'AWS SES Setup with Django
I am trying to add AWS SES into my project. Where I get a different region listed
MessageRejected at /
An error occurred (MessageRejected) when calling the SendRawEmail operation: Email address is not verified. The following identities failed the check in region US-EAST-1: [email protected]
In the AWS verified identities it is listed:
[email protected] Email address Verified
I have the permissions for the SES for my policy for that user.
Attached from group
AmazonSESFullAccess
AWS managed policy from group AmazonSESFullAccess
Also my settings.py
EMAIL_BACKEND = 'django_ses.SESBackend'
EMAIL_HOST = 'email-smtp.us-west-2.amazonaws.com'
EMAIL_PORT = 465
EMAIL_USE_SSL = True
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
Where it's used
from django.core.mail import send_mail
from django.conf import settings
send_mail(email_subject, email_message,'[email protected]',['[email protected]'])
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
