View Code? Open in Web Editor
NEW
This project forked from ndokutovich /strapi-provider-email-nodemailer
Mailjet provider for Strapi with attacments support for latest Strapi versions.
License: MIT License
strapi-provider-email-mailjet's People
Contributors
Stargazers
Watchers
strapi-provider-email-mailjet's Issues
When I send a message like this one :
"test
test2
test3
test4"
with this provider, it appears in my mailbox like this :
"test test2 test3 test3"
How can I manage to make the line return efficient ?
In code you have kept order of initialization of from & replyto as
options.from = options.from || config.mailjet_default_from
options.replyTo = options.replyTo || config.mailjet_default_replyto
Due to this, strapi default from straipi.io is being used even when users configure from address which creates problem in sending emails. I think it should be switched as below (config first):
options.from = config.mailjet_default_from || options.from
options.replyTo = config.mailjet_default_replyto || options.replyTo
Hey,
I am not able to install the package. The Git mentioned in the logs returns 404
bash-4.4# npm i strapi-provider-email-mailjet
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/mailjet/mailjet-api v3-nodejs.git
Hi,
I use this in my strapi :
let opts = JSON.parse(ctx.request.body)
await strapi.plugins['email'].services.email.send({
to: '[email protected] ',
from: '[email protected] ',
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 ?