update contact form

This commit is contained in:
Tben 2022-01-06 09:32:19 +01:00
parent d68d28c8cd
commit ebd8c10f8e

View File

@ -55,7 +55,7 @@ export default async function handler(req, res) {
to: "benoti.san@gmail.com, benoti.sanchez@gmail.com", // list of receivers to: "benoti.san@gmail.com, benoti.sanchez@gmail.com", // list of receivers
subject: "Tben.me | Client Message", // Subject line subject: "Tben.me | Client Message", // Subject line
text: "Hello from tben", text: "Hello from tben",
html: `<h1>Message from ${name} | ${email}</h1><h4>Name:<p>${name}</p></h4><h4>Email:<p>${email}</p></h4><h4>Message:</h4><p>${message}</p>`, // html body html: `<h1>Message from ${name} | ${email}</h1><h4>Name:</h4><p>${name}</p><h4>Email:</h4><p>${email}</p><h4>Message:</h4><p>${message}</p>`, // html body
}); });
console.log("Message sent: %s", info.messageId); console.log("Message sent: %s", info.messageId);