diff --git a/apps/backend/assets/ejs-templates/mail/account-created.ejs b/apps/backend/assets/ejs-templates/mail/account-created.ejs new file mode 100644 index 0000000..86f3550 --- /dev/null +++ b/apps/backend/assets/ejs-templates/mail/account-created.ejs @@ -0,0 +1,121 @@ + + +
+ + +
+ <%= bodyTitle %>+ |
+
|
+ + Thank you for signing up for our service. We're excited to have you + on board! + + +Here are some of the key features you can now enjoy: + ++ + Get Started + + + ++ If you have any questions, feel free to reply to this email or visit + our + support center. + + |
+
|
+ © <%= currentYear %> Cowsi. All rights reserved. + |
+
Your account has been successfully created
- `, + subject: mailTitle, + html: mailHtml, }); } } diff --git a/apps/backend/src/services/localization/localization.service.ts b/apps/backend/src/services/localization/localization.service.ts index 05b8940..06195f8 100644 --- a/apps/backend/src/services/localization/localization.service.ts +++ b/apps/backend/src/services/localization/localization.service.ts @@ -6,32 +6,33 @@ import * as i18nextBackend from 'i18next-fs-backend'; export const LOCALIZATION_SERVICE = 'LOCALIZATION_SERVICE'; -export const localizationServiceProvider: FactoryProvider