sboutet06 / strapi-provider-email-mailjet

Mailjet provider for Strapi with attacments support for latest Strapi versions.
MIT License
1 stars 1 forks source link

line return missing #2

Closed Guillaume-succubus closed 4 years ago

Guillaume-succubus commented 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 ?