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