JS发送邮件
<!DOCTYPE html>
<html>
<script src="/v3/">
</script>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
<div style="background-color: aqua;">
<h1>hello</h1>
<hr />
<h3>测试代码</h3>
</div>
</body>
<script>
Email.send({
Host: "",
Username: "6243@",//发送方账号
Password: "seeyqxlmazppbhea",//发送方密码
To: '1984888@', //目标账号
From: "63233@", //发送方账号
Subject: "测试案例", //主题
Body: '<div style="background-color: aqua;"><h1>hello</h1><hr /><h3>测试代码</h3></div>'
}).then(
message => alert(message)
);;
</script>
</html>