试图攻击。通过nodemailer中的示例使用dpd-email(使用nodemailer)的文件(https://github.com/andris9/Nodemailer#attachments)
这只是给了我一个 'attachment-1.bin' 0kb 大小的文件
尝试使用来自 nodemailer 站点的不同帖子示例,但结果相同。
使用 chrome 邮递员
http://localhost:99/email
to:"asa@me.me"
subject: "test"
text: "test"
attachments: [
{filename: "test.tx"', content:"hello world", contentType:"text/plain"}
]