better email content

This commit is contained in:
Zichao Lin 2023-08-27 23:36:15 +08:00
parent 4259c8d901
commit 8e606aeb5a
Signed by: earthjasonlin
GPG Key ID: 406D9913DE2E42FB

@ -126,10 +126,10 @@ exports.makeHeader = function(data,appversion){
exports.SendLog = function(transporter,mailfrom,mailto,successNum,totalNum,content) {
transporter.sendMail({
from: mailfrom+'" Genshin CloudGame Helper"', //邮件来源
from: `"Genshin Cloud Game Helper" <${mailfrom}>`, //邮件来源
to: mailto, //邮件发送到哪里,多个邮箱使用逗号隔开
subject: `今日已签到${successNum}/${totalNum}名用户`, // 邮件主题
text: '☺️😍😎', // 存文本类型的邮件正文
text: '', // 存文本类型的邮件正文
html: `${content}` // html类型的邮件正文
}, (error) => {
if (error) {