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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user