0

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='username@gmail.com'
EMAIL_PORT = '587'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = 'username@gmail.com'
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)?

1 Answers1

1

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

Peter Knego
  • 79,991
  • 11
  • 123
  • 154
  • Thanks for your reply, you mean I don't need to setup the emil service ?? – Bahador Biglari Jan 20 '13 at 20:46
  • That's correct. There are, however, certain limitations on the `from` address that you can use: either one of the admin accounts in GAE (Admin-Permissions) or a currently logged-in user (via GAE User service). – Peter Knego Jan 20 '13 at 21:31