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 || '(ไม่ได้กรอก)');
|
||||
|
||||
await transporter.sendMail({
|
||||
from: 'MoreminiMore <hello@moreminimore.com>',
|
||||
to: 'hello@moreminimore.com',
|
||||
from: 'MoreminiMore <kunthawat@moreminimore.com>',
|
||||
to: 'kunthawat@moreminimore.com',
|
||||
replyTo: email && email.includes('@') ? email : undefined,
|
||||
subject: `Contact: ${name} — ${problems.length} ปัญหา`,
|
||||
text: [
|
||||
|
||||
Reference in New Issue
Block a user