Skip to content

Commit

Permalink
Fix Nodemailer transport example to render attachment inline
Browse files Browse the repository at this point in the history
  • Loading branch information
vittorius committed Jul 16, 2024
1 parent 3fbc62a commit 9229c78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/sending/transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ transport.sendMail({
{
filename: "welcome.png",
content: readFileSync("./welcome.png"),
cid: "welcome.png",
contentDisposition: "inline",
},
],
}).then(console.log)
Expand Down

0 comments on commit 9229c78

Please sign in to comment.