diff --git a/pages/api/contactForm.js b/pages/api/contactForm.js index e13217a..f49fe6b 100644 --- a/pages/api/contactForm.js +++ b/pages/api/contactForm.js @@ -52,10 +52,10 @@ export default async function handler(req, res) { // send mail with defined transport object let info = await transporter.sendMail({ from: email, // sender address - to: "benoti.san@gmail.com", // list of receivers - subject: "Tben Client Request", // Subject line + to: "benoti.san@gmail.com, benoti.sanchez@gmail.com", // list of receivers + subject: "Tben.me | Client Message", // Subject line text: "Hello from tben", - html: `
${message}
`, // html body + html: `${message}
`, // html body }); console.log("Message sent: %s", info.messageId);