-
Hello, I copied mailer module to my project, but it's not clear what path should I use for mail templates. Seems like
I tried both const projectRoot = dirname(require.main.filename);
const templatePath = resolve(this.options.templateDir, mailOptions.template);
const templatePath = resolve(`${projectRoot}/resources/templates/reset.eta`); Which gives me an absolute paths for src and dist like But both of them gives me an error Your const Can you help me to figure it out? What path should I put in MAIL_TEMPLATE_DIR ? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@JustDenP you could try the latest codebase. |
Beta Was this translation helpful? Give feedback.
@JustDenP you could try the latest codebase.