From cf21c55b1659e97255ae15ff956f8a5f8443cc28 Mon Sep 17 00:00:00 2001 From: Harish-osmosys <121787291+Harish-osmosys@users.noreply.github.com> Date: Thu, 29 Feb 2024 10:21:03 +0530 Subject: [PATCH] feat: add base email template (#18) * feat: add base template * fix: use internal css instead of inline * fix: update forget password template * fix: remove unused tags * fix: update file name --- .../Templates/Emails/BaseTemplate.html | 80 +++++++++++++++++++ .../Emails/ForgetPasswordTemplate.html | 12 --- .../Emails/ResetPasswordTemplate.html | 78 ++++++++++++++++++ 3 files changed, 158 insertions(+), 12 deletions(-) create mode 100644 DotnetFoundation/DotnetFoundation.Api/wwwroot/Templates/Emails/BaseTemplate.html delete mode 100644 DotnetFoundation/DotnetFoundation.Api/wwwroot/Templates/Emails/ForgetPasswordTemplate.html create mode 100644 DotnetFoundation/DotnetFoundation.Api/wwwroot/Templates/Emails/ResetPasswordTemplate.html diff --git a/DotnetFoundation/DotnetFoundation.Api/wwwroot/Templates/Emails/BaseTemplate.html b/DotnetFoundation/DotnetFoundation.Api/wwwroot/Templates/Emails/BaseTemplate.html new file mode 100644 index 0000000..7b2f156 --- /dev/null +++ b/DotnetFoundation/DotnetFoundation.Api/wwwroot/Templates/Emails/BaseTemplate.html @@ -0,0 +1,80 @@ + + +
+ + +
+
+ FoundationX+ |
+ |
---|---|
+ Hello, ++ Lorem ipsum dolor sit amet consectetur adipisicing elit. Sed + commodi dolor cupiditate sit consequatur nostrum, alias, excepturi + voluptas recusandae quaerat placeat eveniet soluta! Impedit quasi + iste rem quisquam natus illum? + +Thank you, |
+ |
Contact us at info@example.com | +
Token : {body}
- - diff --git a/DotnetFoundation/DotnetFoundation.Api/wwwroot/Templates/Emails/ResetPasswordTemplate.html b/DotnetFoundation/DotnetFoundation.Api/wwwroot/Templates/Emails/ResetPasswordTemplate.html new file mode 100644 index 0000000..330ab89 --- /dev/null +++ b/DotnetFoundation/DotnetFoundation.Api/wwwroot/Templates/Emails/ResetPasswordTemplate.html @@ -0,0 +1,78 @@ + + + + + +
+
+ FoundationX+ |
+ |
---|---|
+ Hello, +
+ Use this token to reset your password.
+
+ Token : {body} +Thank you, |
+ |
Contact us at info@example.com | +