open-education-polito / fare-invenio-framework

:books: FARE platform built on top of the invenio framework - [WIP]
MIT License
13 stars 2 forks source link

Setup SMTP #153

Open libremente opened 3 years ago

libremente commented 3 years ago

Expected Behavior

We need to setup an SMTP server for handling the messages

libremente commented 3 years ago
EugenioCorso commented 3 years ago

I tried to send an email with my google email and it worked, i modified the config.py as follow:

# Email configuration
# ===================
MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 465
MAIL_USERNAME = <my-google-email>
MAIL_PASSWORD = <google-generated-password>
MAIL_USE_TLS = False
MAIL_USE_SSL = True
#: Email address for support.
SUPPORT_EMAIL = "fare@polito.it"
#: Disable email sending by default.
MAIL_SUPPRESS_SEND = False