user3590750
user3590750

Reputation: 21

Connecting to Amazon SES with Django on Openshift

I am trying to access amazon SES from openshift using a django based app.

The app works properly when run from my development system (assuming firewall is not block SMTP connection) but does not succeed when run from openshift link after I push to the openshift servers. I can telnet to the SES server from the openshift console.

Is there an openshift or SES setting that I am missing here?

Upvotes: 2

Views: 147

Answers (2)

user3590750
user3590750

Reputation: 21

I have figured out how to solve this problem and am now running both locally and off of the openshift server. After installing boto and django SES (pypi.python.org/pypi/django-ses) on both my local machine and on the openshift server AND setting AWS_SES_REGION_ENDPOINT correctly I can send email through SES.

Upvotes: 0

Shekhar
Shekhar

Reputation: 5931

There is a community blog http://atodorov.org/blog/2013/02/28/email-logging-django-redhat-openshift-amazon-ses/ that talks about how to use Amazon SES with OpenShift. Please make sure your configuration is correct as shown in that blog. Also read https://www.openshift.com/forums/express/missing-email-on-500-ise-w-django

Upvotes: 2

Related Questions