mirror of
https://github.com/silicoflare/silicoflare-website.git
synced 2026-05-26 20:17:58 +05:30
Add files via upload
This commit is contained in:
35
aaa.html
Normal file
35
aaa.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Send Mail</title>
|
||||
<script src=
|
||||
"https://smtpjs.com/v3/smtp.js">
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function sendEmail() {
|
||||
Email.send({
|
||||
Host: "smtp.gmail.com",
|
||||
Username: "captcyberfreak@gmail.com",
|
||||
Password: "freak@google",
|
||||
To: 'silicoflare@gmail.com',
|
||||
From: "sender@email_address.com",
|
||||
Subject: "Sending Email using javascript",
|
||||
Body: "Well that was easy!!",
|
||||
})
|
||||
.then(function (message) {
|
||||
alert("mail sent successfully")
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form method="post">
|
||||
<input type="button" value="Send Email"
|
||||
onclick="sendEmail()" />
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user