Answer the question
In order to leave comments, you need to log in
Nodemailer: how to send a mapped array?
Tried it like this through html and attachments, doesn't work
const someMap = req.session.newCart.map(x =>
`<b> ${x.items.item} в количестве ${x.items.quantity} на сумму ${x.items.price} </b>`
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question