From 940a0b8bb1f96ae747a0488791e3a020e929e369 Mon Sep 17 00:00:00 2001 From: Thembi Dibotelo Date: Thu, 14 Dec 2023 23:17:06 +0200 Subject: [PATCH] use default smtp server --- js/form.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/js/form.js b/js/form.js index 7196700..c7a9006 100644 --- a/js/form.js +++ b/js/form.js @@ -8,11 +8,9 @@ function sendEmail() { const bodyMessage = `Full Name: ${fullname.value}

Email: ${email.value}

Message: ${msg.value}`; Email.send({ - Host : "smtp.gmail.com", - Username : "govan.dibotelo@gmail.com", - Password : "cejzhfubuurlkwtt", - To : "govan.dibotelo@gmail.com", - From : email.value, + SecureToken : "77eac908-5b7f-49a9-8f5b-024ff264d8e8", + To : 'govan.dibotelo@gmail.com', + From : 'govan.dibotelo@gmail.com', Subject : "Customer enquiry", Body : bodyMessage }).then(