Closed Guillaume-succubus closed 4 years ago
Hi,
I use this in my strapi :
let opts = JSON.parse(ctx.request.body) await strapi.plugins['email'].services.email.send({ to: 'mail@mail.mail', from: 'autremail@autremail.mail', subject: opts.subject, text: Nom : ${opts.name} Email : ${opts.from} ${opts.text}, });
But when I receive my mails, all is in one line in the text section ? Any ideas why ?
Hi,
I use this in my strapi :
let opts = JSON.parse(ctx.request.body) await strapi.plugins['email'].services.email.send({ to: 'mail@mail.mail', from: 'autremail@autremail.mail', subject: opts.subject, text: Nom : ${opts.name} Email : ${opts.from} ${opts.text}, });
But when I receive my mails, all is in one line in the text section ? Any ideas why ?