Default payment-email sender to marketingwithmarty.com

Both marketingwithmarty.com and mybrandedvoice.com are SendGrid
DKIM-authenticated; Marty's sending identity is marketingwithmarty.com,
so the default from and the admin label now reflect that.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-08-13 13:10:41 -05:00
parent e3f07057d9
commit accd869c12
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -72,9 +72,9 @@ function getSendgridKey() {
if (process.env.SENDGRID_API_KEY) return process.env.SENDGRID_API_KEY;
try { return fs.readFileSync(SENDGRID_KEY_FILE, 'utf8').trim(); } catch (e) { return ''; }
}
// SendGrid is domain-authenticated for mybrandedvoice.com (SPF/DKIM, 2026-07-07)
// — the from address must stay on that domain or DKIM fails.
function emailFrom() { return getConfig().emailFrom || 'The RM Circle Team <no-reply@mybrandedvoice.com>'; }
// SendGrid is domain-authenticated for marketingwithmarty.com and
// mybrandedvoice.com — the from address must stay on one of those or DKIM fails.
function emailFrom() { return getConfig().emailFrom || 'The RM Circle Team <no-reply@marketingwithmarty.com>'; }
function sendPaidEmail(toEmail, memberName, evt) {
const key = getSendgridKey();
if (!key) return;