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: `