From ebd8c10f8e9fb592f68496b03daf8a575eaa5810 Mon Sep 17 00:00:00 2001 From: Tben <52448020+BenjaminToby@users.noreply.github.com> Date: Thu, 6 Jan 2022 09:32:19 +0100 Subject: [PATCH] update contact form --- pages/api/contactForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/contactForm.js b/pages/api/contactForm.js index 4fb9696..f5143c6 100644 --- a/pages/api/contactForm.js +++ b/pages/api/contactForm.js @@ -55,7 +55,7 @@ export default async function handler(req, res) { 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 from ${name} | ${email}

Name:

${name}

Email:

${email}

Message:

${message}

`, // html body + html: `

Message from ${name} | ${email}

Name:

${name}

Email:

${email}

Message:

${message}

`, // html body }); console.log("Message sent: %s", info.messageId);