fix: switch SMTP from noreply@jeffemmett.com to newsletter@worldplay.art
Update default SMTP_USER and EMAIL_FROM to use the domain-specific newsletter mailbox instead of the shared noreply@jeffemmett.com address. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a4fadbb1c7
commit
bc70718976
|
|
@ -12,7 +12,7 @@ services:
|
||||||
- ADMIN_TOKEN=${ADMIN_TOKEN:-worldplay-admin-2026}
|
- ADMIN_TOKEN=${ADMIN_TOKEN:-worldplay-admin-2026}
|
||||||
- SMTP_HOST=${SMTP_HOST:-mail.rmail.online}
|
- SMTP_HOST=${SMTP_HOST:-mail.rmail.online}
|
||||||
- SMTP_PORT=${SMTP_PORT:-587}
|
- SMTP_PORT=${SMTP_PORT:-587}
|
||||||
- SMTP_USER=${SMTP_USER:-noreply@jeffemmett.com}
|
- SMTP_USER=${SMTP_USER:-newsletter@worldplay.art}
|
||||||
- SMTP_PASS=${SMTP_PASS}
|
- SMTP_PASS=${SMTP_PASS}
|
||||||
- GOOGLE_SHEET_ID=13_J3VFnDeuge57emi9Ob-Icm_J6RhCwRkLc9cPHk8bE
|
- GOOGLE_SHEET_ID=13_J3VFnDeuge57emi9Ob-Icm_J6RhCwRkLc9cPHk8bE
|
||||||
- GOOGLE_SERVICE_ACCOUNT_FILE=/app/secrets/google-service-account.json
|
- GOOGLE_SERVICE_ACCOUNT_FILE=/app/secrets/google-service-account.json
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ const smtp = process.env.SMTP_PASS ? nodemailer.createTransport({
|
||||||
port: parseInt(process.env.SMTP_PORT || '587'),
|
port: parseInt(process.env.SMTP_PORT || '587'),
|
||||||
secure: false,
|
secure: false,
|
||||||
auth: {
|
auth: {
|
||||||
user: process.env.SMTP_USER || 'noreply@jeffemmett.com',
|
user: process.env.SMTP_USER || 'newsletter@worldplay.art',
|
||||||
pass: process.env.SMTP_PASS,
|
pass: process.env.SMTP_PASS,
|
||||||
},
|
},
|
||||||
tls: { rejectUnauthorized: false },
|
tls: { rejectUnauthorized: false },
|
||||||
|
|
@ -184,7 +184,7 @@ async function sendConfirmationEmail(registration) {
|
||||||
: 'Not specified';
|
: 'Not specified';
|
||||||
|
|
||||||
await smtp.sendMail({
|
await smtp.sendMail({
|
||||||
from: process.env.EMAIL_FROM || 'WORLDPLAY <noreply@jeffemmett.com>',
|
from: process.env.EMAIL_FROM || 'WORLDPLAY <newsletter@worldplay.art>',
|
||||||
to: registration.email,
|
to: registration.email,
|
||||||
subject: '🎭 Welcome to WORLDPLAY – Registration Confirmed',
|
subject: '🎭 Welcome to WORLDPLAY – Registration Confirmed',
|
||||||
html: `
|
html: `
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue