after many diversions and forlorn pivot from copilot to claude, new infra/ structure contains group_vars and ansible vaults; requests added to dev and prod dependencies; apps.lyric.views and core
.settings both abandon django's send_mail(); instead incorporate requests to target Mailgun's HTTP API (DigitalOcean's SMTP blocker thwarted previous magic login link email attempts, but this issue has been resol ved with this commit)
This commit is contained in:
@@ -156,4 +156,7 @@ EMAIL_HOST = "smtp.mailgun.org"
|
||||
EMAIL_HOST_USER = os.environ.get("EMAIL_HOST_USER") # switch back to .environ[] when collectstatic moved outside docker build process
|
||||
EMAIL_HOST_PASSWORD = os.environ.get("EMAIL_HOST_PASSWORD") # switch back to .environ[]
|
||||
EMAIL_PORT = 587
|
||||
EMAIL_USER_TLS = True
|
||||
EMAIL_USE_TLS = True
|
||||
# Mailgun API settings (for HTTP API instead of SMTP)
|
||||
MAILGUN_API_KEY = os.environ.get("MAILGUN_API_KEY")
|
||||
MAILGUN_DOMAIN = "howdy.earthmanrpg.me" # Your Mailgun domain
|
||||
Reference in New Issue
Block a user