diff options
Diffstat (limited to 'manager/settings.py')
-rw-r--r-- | manager/settings.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manager/settings.py b/manager/settings.py index 087d7da..037fc9e 100644 --- a/manager/settings.py +++ b/manager/settings.py @@ -27,6 +27,18 @@ DEBUG = True ALLOWED_HOSTS = [] +# Email +SENDGRID_API_KEY = os.getenv('SENDGRID_API_KEY') + +EMAIL_HOST = 'smtp.sendgrid.net' +EMAIL_HOST_USER = 'apikey' +EMAIL_HOST_PASSWORD = SENDGRID_API_KEY +EMAIL_PORT = 587 +EMAIL_USE_TLS = True + +DEFAULT_FROM_EMAIL = 'mafaldo@hotmail.it' +SERVER_EMAIL = 'mafaldo@hotmail.it' + # Application definition |