-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the configuration for email settings (#190).
- Loading branch information
Showing
2 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -349,18 +349,34 @@ | |
|
||
# Emails sent to the users of Creme | ||
# (reminders, assistants.user_message, commercial.commercial_approach...) | ||
|
||
# This is a Creme parameter which specifies from_email (sender) when sending email. | ||
EMAIL_SENDER = '[email protected]' | ||
EMAIL_HOST = 'localhost' | ||
EMAIL_HOST_USER = '' | ||
EMAIL_SENDER = '[email protected]' | ||
|
||
# Following values are from Django : | ||
# See https://docs.djangoproject.com/en/2.2/ref/settings/#email-host | ||
# or the file "django/conf/global_settings.py" | ||
# for a complete documentation. | ||
# BEWARE: the Django's names for secure parameters may be misleading. | ||
# EMAIL_USE_TLS is for startTLS (often with port 587) ; for communication | ||
# with TLS use EMAIL_USE_SSL. See : | ||
# - https://docs.djangoproject.com/fr/2.2/ref/settings/#email-use-tls | ||
# - https://docs.djangoproject.com/fr/2.2/ref/settings/#email-use-ssl | ||
EMAIL_HOST = 'localhost' | ||
EMAIL_HOST_USER = '' | ||
EMAIL_HOST_PASSWORD = '' | ||
EMAIL_USE_TLS = False | ||
# EMAIL_PORT = 1025 # Default value in django/conf/global_settings.py | ||
EMAIL_USE_TLS = False | ||
# EMAIL_PORT = 25 | ||
# EMAIL_SSL_CERTFILE = None | ||
# EMAIL_SSL_KEYFILE = None | ||
# EMAIL_TIMEOUT = None | ||
# ... | ||
|
||
# Tip: _development_ SMTP server | ||
# => python -m smtpd -n -c DebuggingServer localhost:1025 | ||
|
||
DEFAULT_USER_EMAIL = '' # Email address used in case the user doesn't have filled his one. | ||
# Email address used in case the user doesn't have filled his one. | ||
DEFAULT_USER_EMAIL = '' | ||
|
||
|
||
# EMAILS [END] ################################################################# | ||
|