Skip to content

Commit

Permalink
Test environment email backend setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Mihálik committed Aug 21, 2024
1 parent d99ae37 commit e4e115d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webstrom/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

EMAIL_VERIFICATION_TIMEOUT = 86400

MANAGERS = [('Web', 'web@strom.sk'), ]
MANAGERS = [('Web', 'webmaster@strom.sk'), ]

EMAIL_NO_REPLY = 'no-reply@strom.sk' # z tade sa odosielaju maily
EMAIL_NO_REPLY = 'web@strom.sk' # z tade sa odosielaju maily
EMAIL_ALERT = '[email protected]' # tu sa prijimaju maily
6 changes: 6 additions & 0 deletions webstrom/settings_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@
}

EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"

EMAIL_HOST = "smtp-relay.gmail.com"
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = "[email protected]"
EMAIL_TIMEOUT = 10

0 comments on commit e4e115d

Please sign in to comment.