Bahador Biglari
Bahador Biglari

Reputation: 99

SMTPException in Django with GAE setting

I am trying to setup Django-invitation with my django project. It will deploy on the Google App Engine, and Google Cloud SQL. Now I have this issue "SMTP AUTH extension not supported by server."

This is the settings.py

DEFAULT_FROM_EMAIL='[email protected]'
EMAIL_PORT = '587'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_USE_TLS = True

I am waiting for your amazing advises.

Edited

If I remove the mail settings from settings.py I will get the following error:

SMTPServerDisconnected: please run connect() first

Edited

What configuration do I need for development for my django project and what configuration for production deployment for GAE ( Google App Engine)?

Upvotes: 0

Views: 439

Answers (1)

Peter Knego
Peter Knego

Reputation: 80340

GAE comes with own internal mail-sending infrastructure. You can not define your own SMTP server.

Upvotes: 1

Related Questions