Skip to content

Commit

Permalink
feat: add attachments attribute in sendmail (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiifree authored Oct 6, 2023
1 parent 789f82b commit be9a37c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const fastifyMail = async (fastify, opts) => {
const replyTo = message.replyTo
const cc = message.cc
const bcc = message.bcc
const attachments = message.attachments
const html = message.html
const text = message.text

Expand All @@ -78,6 +79,7 @@ const fastifyMail = async (fastify, opts) => {
to,
cc,
bcc,
attachments,
replyTo,
subject,
html: renderedHtml || html,
Expand Down

0 comments on commit be9a37c

Please sign in to comment.