K
K
kaleon2019-05-31 13:42:35
JavaScript
kaleon, 2019-05-31 13:42:35

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 question

Ask a Question

731 491 924 answers to any question