Skip to content

Commit

Permalink
Merge pull request #94 from datamade/fix/email-sending
Browse files Browse the repository at this point in the history
Get email settings from env vars
  • Loading branch information
xmedr authored Oct 17, 2023
2 parents 4f272d7 + 9c94def commit 7ada0c3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bga_database/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,13 @@

vars().update(EMAIL_CONFIG)

EMAIL_USE_TLS = True
EMAIL_HOST = env('EMAIL_HOST', default='')
EMAIL_HOST_USER = env('EMAIL_HOST_USER', default='')
EMAIL_HOST_PASSWORD = env('EMAIL_HOST_PASSWORD', default='')
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = env('DEFAULT_FROM_EMAIL', default='')

MAILCHIMP_LIST_ID = env('MAILCHIMP_LIST_ID', default='')
MAILCHIMP_API_KEY = env('MAILCHIMP_API_KEY', default='')
MAILCHIMP_SERVER = env('MAILCHIMP_SERVER', default='')
Expand Down

0 comments on commit 7ada0c3

Please sign in to comment.