Skip to content
Snippets Groups Projects
Commit 26281d89 authored by Anton Gusev's avatar Anton Gusev
Browse files

add settings for mail

parent 75f6a1fb
No related branches found
No related tags found
5 merge requests!5Develop,!4Develop,!3Develop,!2Develop,!1Develop
......@@ -4,3 +4,7 @@ DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
MAIL_FROM = 'YOU_EMAIL'
MAIL_USER = 'YOU_LOGIN'
MAIL_PASS = 'YOU_PASSWORD'
......@@ -113,3 +113,14 @@ LOG_FORMAT = '%(asctime)s - %(levelname)s - %(name)s : \n\t %(message)s'
# LOG_DATEFORMAT
LOG_STDOUT = False
LOG_SHORT_NAMES = False
# Mail config
# TODO to .env file
MAIL_FROM = os.getenv('MAIL_FROM', 'scrapy@localhost')
MAIL_HOST = 'smtp.gmail.com'
MAIL_PORT = 465
MAIL_USER = os.getenv('MAIL_USER')
MAIL_PASS = os.getenv('MAIL_PASS')
MAIL_TLS = False
MAIL_SSL = True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment