https://smtpjs.com/的示例仅显示如何发送文本和附件。我需要的是嵌入图像作为电子邮件的一部分。
Email.send({
Host : "smtp.yourisp.com",
Username : "username",
Password : "password",
To : 'them@website.com',
From : "you@isp.com",
Subject : "This is the subject",
Body : "And this is the body"
}).then(
message => alert(message)
);