@julian that's awesome thanks a lot!
Use Custom Template to send Email
-
Hi,
I am using 'Nodemailer' in my plugin.
I need to use Custom Email template file for Sending Notification Email.
Can I use 'Custom Email Template' in my plugin.
Or there is any dependency available in Node.js.
Please provide me guideline.Thanks!!
-
No dependencies required, just have your plugin serve templates (add the
template
option intoplugin.json
), and in that template folder, have a folder calledemails
, and place your template in there.Also place a corresponding plaintext one with the suffix
_plaintext
.