Use info@kenjim.com as sender and contact destination

Separates SMTP auth user (Bridge credential) from the public-facing
sender address. FROM_EMAIL and CONTACT_TO are set in .env.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 16:14:04 +00:00
parent 4bd31b0728
commit a5df7ab8b9

View File

@@ -26,7 +26,7 @@ app.post('/contact', async (req, res) => {
try { try {
await transporter.sendMail({ await transporter.sendMail({
from: `"KenJim Technologies" <${process.env.SMTP_USER}>`, from: `"KenJim Technologies" <${process.env.FROM_EMAIL || process.env.SMTP_USER}>`,
to: process.env.CONTACT_TO, to: process.env.CONTACT_TO,
replyTo: email, replyTo: email,
subject: `[kenjim.com] ${service || 'General Inquiry'}${name}`, subject: `[kenjim.com] ${service || 'General Inquiry'}${name}`,