Quote DEFAULT_FROM_EMAIL display name so contact mail sends #29

Merged
westfarn merged 2 commits from fix/28-quote-default-from-email into master 2026-08-07 08:17:31 -07:00
Owner

Summary

Problem

Contact form saved leads but notification email to ryan@aimloperations.com failed with:

Invalid address; only AI ML Operations could be parsed from "AI ML Operations, LLC <info@aimloperations.com>"

Comma in unquoted display name treated as address-list separator.

Test plan

  • Submit contact form in an environment with SMTP configured
  • Confirm lead appears on leads page
  • Confirm email arrives at ryan@aimloperations.com
  • If prod sets DEFAULT_FROM_EMAIL in .env, ensure that value is also quoted before deploy
## Summary - Closes #28 - Quote `DEFAULT_FROM_EMAIL` display name (`"AI ML Operations, LLC" <info@aimloperations.com>`) so RFC 5322 From parsing succeeds - Update settings default, email send fallbacks, and `.env` examples ## Problem Contact form saved leads but notification email to `ryan@aimloperations.com` failed with: ``` Invalid address; only AI ML Operations could be parsed from "AI ML Operations, LLC <info@aimloperations.com>" ``` Comma in unquoted display name treated as address-list separator. ## Test plan - [ ] Submit contact form in an environment with SMTP configured - [ ] Confirm lead appears on leads page - [ ] Confirm email arrives at ryan@aimloperations.com - [ ] If prod sets `DEFAULT_FROM_EMAIL` in `.env`, ensure that value is also quoted before deploy
westfarn added 2 commits 2026-08-07 08:16:19 -07:00
Quote DEFAULT_FROM_EMAIL display name so contact mail sends.
CI / test (pull_request) Successful in 12s
Unit Tests / test (pull_request) Successful in 12s
d409680f8b
Comma in "AI ML Operations, LLC" broke RFC 5322 From parsing and silently skipped notification emails. Closes #28.
westfarn merged commit 85369914c8 into master 2026-08-07 08:17:31 -07:00
westfarn deleted branch fix/28-quote-default-from-email 2026-08-07 08:17:31 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/company_site#29