Giter Site home page Giter Site logo

Comments (14)

jsk avatar jsk commented on June 15, 2024 6

Do you have AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in your settings.py ?
Also, in case you are still in SES Sandbox, recipient must also be verified.

from django-ses.

bkeating avatar bkeating commented on June 15, 2024 1

Also, in case you are still in SES Sandbox, recipient must also be verified.

Bingo. You can request production access here: http://aws.amazon.com/ses/fullaccessrequestsuccess/

from django-ses.

lightstrike avatar lightstrike commented on June 15, 2024 1

I recently hit this error despite my sender email being verified and having production access. The issue was that I wasn't using the default region ('us-east-1'), so I had to pass the following settings mentioned as optional in the docs:

AWS_SES_REGION_NAME = 'us-west-2'
AWS_SES_REGION_ENDPOINT = 'email.us-west-2.amazonaws.com'

from django-ses.

pcraciunoiu avatar pcraciunoiu commented on June 15, 2024

Is this still an issue for anyone? Closing. Please reopen/file new if problem exists.

from django-ses.

 avatar commented on June 15, 2024

I'm getting same error message.

from django-ses.

pcraciunoiu avatar pcraciunoiu commented on June 15, 2024

What command are you running? Did you set your AWS keys?

from django-ses.

 avatar commented on June 15, 2024

It worked. Sorry It was my fault.

from django-ses.

pcraciunoiu avatar pcraciunoiu commented on June 15, 2024

Do you think something could have been in the documentation to help you? A bunch of people have experienced this.

from django-ses.

 avatar commented on June 15, 2024

Yes. thanks anyway

from django-ses.

onurmatik avatar onurmatik commented on June 15, 2024

I am experiencing a similar problem. In mail_managers / mail_admins, DEFAULT_FROM_EMAIL seems to be disregarded. Here is my case:

$ python manage.py ses_email_address -l
Fetching list of verified emails:
[email protected]

Via python shell:

>>> settings.DEFAULT_FROM_EMAIL
'[email protected]'
>>> settings.MANAGERS
(('onur mat', '[email protected]'),)
>>> send_mail('test', 'test', '[email protected]', ['[email protected]'])
1
>>> mail_managers('test', 'test')
BotoServerError: BotoServerError: 400 Bad Request
<ErrorResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
  <Error>
    <Type>Sender</Type>
    <Code>MessageRejected</Code>
    <Message>Email address is not verified.</Message>
  </Error>
  <RequestId>66269bb3-ca86-11e1-80db-5b89cf7a6356</RequestId>
</ErrorResponse>

As you see the DEFAULT_FROM_EMAIL is verified and I have no problem using that e-mail with send_mail(), but mail_managers() fails with "Email address is not verified".

from django-ses.

onurmatik avatar onurmatik commented on June 15, 2024

My bad. It turns out mail_managers() uses SERVER_EMAIL, not DEFAULT_FROM_EMAIL.

from django-ses.

krishhkk avatar krishhkk commented on June 15, 2024

I am also facing the same issue. I am trying send e-mail from Database mail through Amazon SES. but the mail logs show, Email address not verified. My email address is verified and I use both "From" and "To" address same.

Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 3 (2012-08-22T04:57:54). Exception Message: Cannot send mails to mail server. (Transaction failed. The server response was: Message rejected: Email address is not verified.).
)

from django-ses.

anup36 avatar anup36 commented on June 15, 2024

am also getting the same problem but in nodejs ...

var ses = require('node-ses')
, client = ses.createClient({ key: 'mykey', secret: 'mysecret',region: 'us-west-2', amazone:'email.us-west-2.amazonaws.com' });

// Give SES the details and let it construct the message for you.
client.sendEmail({
to: '[email protected]'
, from: '[email protected]'
, sender: '[email protected]'
, bcc: ['[email protected]']
, subject: 'greetings'
, message: 'your goes here'
, altText: 'plain text'
}, function (err, data, res) {
if(err){
console.log(err);
}
else{
console.log(data);
}
});

from django-ses.

scknechaev avatar scknechaev commented on June 15, 2024

Guys here is the solution
https://stackoverflow.com/questions/34879315/amazon-ses-email-address-is-not-verified/34879520#34879520

from django-ses.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.