mirror of
https://github.com/strapi/strapi.git
synced 2025-11-09 22:59:14 +00:00
commit
b4f168963d
@ -108,7 +108,7 @@ module.exports = {
|
|||||||
// send an email by using the email plugin
|
// send an email by using the email plugin
|
||||||
await strapi.plugins['email'].services.email.send({
|
await strapi.plugins['email'].services.email.send({
|
||||||
to: 'paulbocuse@strapi.io',
|
to: 'paulbocuse@strapi.io',
|
||||||
from: 'admin@strapi.io'
|
from: 'admin@strapi.io',
|
||||||
subject: 'Comment posted that contains a bad words',
|
subject: 'Comment posted that contains a bad words',
|
||||||
text: `
|
text: `
|
||||||
The comment #${entity.id} contain a bad words.
|
The comment #${entity.id} contain a bad words.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user