fix: use verified email for SES sandbox mode
This commit is contained in:
@@ -96,8 +96,8 @@ app.post('/api/contact', async (req, res) => {
|
|||||||
const displayEmail = String(email || '(ไม่ได้กรอก)');
|
const displayEmail = String(email || '(ไม่ได้กรอก)');
|
||||||
|
|
||||||
await transporter.sendMail({
|
await transporter.sendMail({
|
||||||
from: 'MoreminiMore <hello@moreminimore.com>',
|
from: 'MoreminiMore <kunthawat@moreminimore.com>',
|
||||||
to: 'hello@moreminimore.com',
|
to: 'kunthawat@moreminimore.com',
|
||||||
replyTo: email && email.includes('@') ? email : undefined,
|
replyTo: email && email.includes('@') ? email : undefined,
|
||||||
subject: `Contact: ${name} — ${problems.length} ปัญหา`,
|
subject: `Contact: ${name} — ${problems.length} ปัญหา`,
|
||||||
text: [
|
text: [
|
||||||
|
|||||||
Reference in New Issue
Block a user