0
我用邮箱发送邮件。但不是只是在html字段中添加html标签,我想创建一个单独的html文件并将其添加到那里。怎么做? (我用Node.js的表达框架)如何使用外部html文件在mailgun中发送数据?
var data = {
from: 'EasyFoods <[email protected]>',
to: req.user.email,
subject: 'Order is placed',
html: '<h1>You just placed an order!</h1>'
};