mailer rest form and disable send

This commit is contained in:
Owen Rees
2023-06-21 15:39:25 +02:00
parent b323d07d12
commit 65532531a0
10 changed files with 116 additions and 67 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ export async function POST(req: Request) {
const mailContent = {
from: email,
to: process.env.GMAIL_USER,
subject: subject,
subject: `${subject} from ${email}`,
text: message,
html: `<p>${message}</p>`,
};