📅  最后修改于: 2022-03-11 14:57:54.984000             🧑  作者: Mango
function sendEmail() {
Email.send({
Host : "smtp.mailtrap.io",
Username : "",
Password : "",
To : 'recipient@example.com',
From : "sender@example.com",
Subject : "Test email",
Body : "Header
Bold text
Italic"
}).then(
message => alert(message)
);
}