Skip to content

Commit

Permalink
use default smtp server
Browse files Browse the repository at this point in the history
  • Loading branch information
GovanDBT committed Dec 14, 2023
1 parent 2da37b3 commit 940a0b8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions js/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ function sendEmail() {
const bodyMessage = `Full Name: ${fullname.value}<br><br> Email: ${email.value}<br><br> 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(
Expand Down

0 comments on commit 940a0b8

Please sign in to comment.