emails - some cleanup
MODIFY
src/notification/email/EMailNotificationTask.ts
src/notification/email/EMailNotificationTask.ts
@@ -372,9 +372,9 @@ export default class EMailNotificationTask implements NotificationTask {
.addToBody(await EmailComponentManager.getComponent(EmailComponent.BUTTON))
.buildTemplate();
template.resolve(i18nInstance, context,prefix);
- if (Utils.isDevelopmentEnv()) {
- fs.writeFileSync('./file.txt',template.getTemplate(),'utf-8');
- }
+ // if (Utils.isDevelopmentEnv()) {
+ // fs.writeFileSync('./troubleshoot-email-framework.txt',template.getTemplate(),'utf-8');
+ // }
const html = template.getHtml();
emailContent = {
to: user.email,

emails - some cleanup