update contact form

This commit is contained in:
Tben 2022-01-06 09:25:07 +01:00
parent 6ee17d1fe2
commit a9245bbe4c

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}</h1><h4>Name: ${name}</h4><h4>Email: ${email}</h4><h4>Message:</h4><p>${message}</p>`, // html body 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
}); });
console.log("Message sent: %s", info.messageId); console.log("Message sent: %s", info.messageId);