Can you add an option to send emails as HTML when using the email provider? According to Strapi docs, you just need to set a "html" property instead of "text":
await strapi.plugins['email'].services.email.send({
to: recipient.email,
from: config.from,
subject: config.subject ? config.subject : 'New Contact Form Submission',
html: message,
})
It would be cool if this choice could be set up in some config file. Overriding the send() function for a small thing like this seems like an overkill.
Can you add an option to send emails as HTML when using the email provider? According to Strapi docs, you just need to set a "html" property instead of "text":
It would be cool if this choice could be set up in some config file. Overriding the send() function for a small thing like this seems like an overkill.