Commit 66362626 by kashif ansari

added code for sending Email via spreto

1 parent 5818f636
...@@ -103,6 +103,7 @@ const userPermissionExtension = (plugin) => { ...@@ -103,6 +103,7 @@ const userPermissionExtension = (plugin) => {
// Send an email to the user. // Send an email to the user.
await strapi.plugin("email").service("email").send(emailToSend); await strapi.plugin("email").service("email").send(emailToSend);
// await getService("user").sendOTPOnEmail(emailToSend);
// TODO: Send SMS. // TODO: Send SMS.
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!