Created
September 1, 2018 19:32
-
-
Save NikhilNanjappa-zz/3a580d331d5e867a5e998f937ad9fd7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await strapi.plugins['email'].services.email.send({ | |
to: ctx.request.body.to, | |
from: '[email protected]', | |
replyTo: '[email protected]', | |
subject: 'My message', | |
text: 'Text', | |
html: '<h1>Text</h1>' | |
}, config); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment