Show SITE_NAME as the email From display name.
Deploy Beta / unit-tests (push) Successful in 9s
Deploy Beta / docker (push) Successful in 14s
Deploy Beta / deploy-beta (push) Failing after 1m20s

Bare DEFAULT_FROM_EMAIL addresses were rendering as "noreply" in inboxes; wrap them as "Monica Dhillon" <address>.
This commit is contained in:
2026-08-09 06:54:20 -05:00
parent aed84b6e11
commit 5b53ef376d
3 changed files with 36 additions and 2 deletions
+7
View File
@@ -26,10 +26,17 @@ RECAPTCHA_PRIVATE_KEY=
# SMTP2GO — fill in `.env` (not this file). Dev defaults to console backend
# until you set EMAIL_BACKEND to the SMTP backend below.
EMAIL_HOST=mail.smtp2go.com
# SMTP login (not shown to recipients)
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
EMAIL_PORT=2525
EMAIL_USE_TLS=true
# Inbox From header. Bare address → local-part shows as name ("noreply").
# Prefer quoted display name (SITE_NAME is auto-wrapped if you omit it):
# DEFAULT_FROM_EMAIL=noreply@mkdrealtor.com
# → "Monica Dhillon" <noreply@mkdrealtor.com>
# Or set explicitly (must be allowed/verified in SMTP2GO):
# DEFAULT_FROM_EMAIL="Monica Dhillon" <notifications-beta@mkdrealtor.com>
DEFAULT_FROM_EMAIL=noreply@mkdrealtor.com
# Console (default in DJANGO_ENV=dev) prints mail to container logs.
# For real SMTP2GO delivery locally, uncomment: