From bc70718976ac26df9a9acd5395cca99f292a26be Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Sun, 1 Mar 2026 10:58:45 -0800 Subject: [PATCH] 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 --- docker-compose.yml | 2 +- server.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d018e65..921b5ca 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: - ADMIN_TOKEN=${ADMIN_TOKEN:-worldplay-admin-2026} - SMTP_HOST=${SMTP_HOST:-mail.rmail.online} - SMTP_PORT=${SMTP_PORT:-587} - - SMTP_USER=${SMTP_USER:-noreply@jeffemmett.com} + - SMTP_USER=${SMTP_USER:-newsletter@worldplay.art} - SMTP_PASS=${SMTP_PASS} - GOOGLE_SHEET_ID=13_J3VFnDeuge57emi9Ob-Icm_J6RhCwRkLc9cPHk8bE - GOOGLE_SERVICE_ACCOUNT_FILE=/app/secrets/google-service-account.json diff --git a/server.js b/server.js index b7903c4..d8a015f 100644 --- a/server.js +++ b/server.js @@ -16,7 +16,7 @@ const smtp = process.env.SMTP_PASS ? nodemailer.createTransport({ port: parseInt(process.env.SMTP_PORT || '587'), secure: false, auth: { - user: process.env.SMTP_USER || 'noreply@jeffemmett.com', + user: process.env.SMTP_USER || 'newsletter@worldplay.art', pass: process.env.SMTP_PASS, }, tls: { rejectUnauthorized: false }, @@ -184,7 +184,7 @@ async function sendConfirmationEmail(registration) { : 'Not specified'; await smtp.sendMail({ - from: process.env.EMAIL_FROM || 'WORLDPLAY ', + from: process.env.EMAIL_FROM || 'WORLDPLAY ', to: registration.email, subject: '🎭 Welcome to WORLDPLAY – Registration Confirmed', html: `