diff --git a/src/routes/contact/submit.js b/src/routes/contact/submit.js index 9fa00ab..0befd0e 100644 --- a/src/routes/contact/submit.js +++ b/src/routes/contact/submit.js @@ -69,18 +69,16 @@ export async function post({ request }) { }; } - const text = `
New MMT Message
Name: ${body.name}
Phone Number: ${body.phone || 'Not Given'}
Email: ${body.email}
${body.message}
-brought to you by simponic
`; +${body.message}
`; const messageSent = await mailer - .sendMail(FORM_TO_EMAIL, `New Message From ${body.name}`, text) + .sendMail(FORM_TO_EMAIL, `[MMT-FORM]: New Message From ${body.name}`, text) .then(() => true) .catch((error) => { console.error(error);