Open shrinidhinhegde opened 3 years ago
SES does not work with the default access keys attached to every Lambda. You have to create an IAM user with SES policy permissions attached to it and set AWS_SES_ACCESS_KEY_ID
and AWS_SES_SECRET_ACCESS_KEY
.
Should we add AWS_SES_ACCESS_KEY_ID
and AWS_SES_SECRET_ACCESS_KEY
in settings.py too ?
so i have hosted my site on lambda using zappa. and i am using django-amazon-ses to send email after submitting a form.
settings.py
view
now this works fine on my local host but, when i try to do it online, it shows the following error on submitting.
At first, i thought it is because i havent configued a vpc with the lambda function, but then it showed me the same error after i configured a public/private vpc wizard.
not sure what am i doing wrong. any help would be appreciated.