-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (35 loc) · 1.19 KB
/
Copy pathindex.html
File metadata and controls
37 lines (35 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>VGEC CHATBOT</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
<script src=
"https://smtpjs.com/v3/smtp.js">
</script>
<script type="text/javascript">
function sendEmail() {
var e=document.getElementById("email").value;
var q=document.getElementById("question").value;
Email.send({
Host: "smtp.elasticemail.com",
Username: "[email protected]",
Password: "912E5D1A0E6C0A3D0C27F07E75B0B382C047",
To: '[email protected]',
From: "[email protected]",
Subject: "Sending Email using javascript",
Body: e+q,
})
.then(function (message) {
alert("mail sent successfully")
});
}
</script>
</body>
</html>