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>'
};