Skip to content

Commit

Permalink
comment and remove relay
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-seals committed Jan 30, 2024
1 parent 213942c commit e8b47f6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions appstore/appstore/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,15 @@
)

# Email configuration
# UNC Relay: relay.unc.edu:25
# Renci Relay: relay.renci.org
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
EMAIL_HOST =os.environ.get("EMAIL_HOST","relay.unc.edu")
EMAIL_PORT = os.environ.get("EMAIL_PORT", "25")
EMAIL_HOST =os.environ.get("EMAIL_HOST","")
EMAIL_PORT = os.environ.get("EMAIL_PORT", "")
EMAIL_HOST_USER = os.environ.get("EMAIL_HOST_USER", "appstore@renci.org")
EMAIL_HOST_PASSWORD = os.environ.get("EMAIL_HOST_PASSWORD", "")
RECIPIENT_EMAILS = os.environ.get("RECIPIENT_EMAILS", "")
EMAIL_USE_TLS = False
EMAIL_USE_TLS = os.environ.get("EMAIL_USE_TLS", False) # Boolean
DEFAULT_FROM_EMAIL = os.environ.get("APPSTORE_DEFAULT_FROM_EMAIL", EMAIL_HOST_USER)
DEFAULT_SUPPORT_EMAIL = os.environ.get(
"APPSTORE_DEFAULT_SUPPORT_EMAIL", EMAIL_HOST_USER
Expand Down

0 comments on commit e8b47f6

Please sign in to comment.