-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make emailService.js reusable and make different email templates #55
Labels
development
Still in the development phase
enhancement
New feature or request
frontend
Changes that affect the frontend
Comments
StefanPenchev05
added
enhancement
New feature or request
development
Still in the development phase
frontend
Changes that affect the frontend
labels
Mar 13, 2024
StefanPenchev05
added a commit
that referenced
this issue
Mar 13, 2024
StefanPenchev05
added a commit
that referenced
this issue
Mar 13, 2024
…plates can use tailwindcss #55
StefanPenchev05
added a commit
that referenced
this issue
Mar 13, 2024
StefanPenchev05
added a commit
that referenced
this issue
Mar 13, 2024
StefanPenchev05
added a commit
that referenced
this issue
Mar 13, 2024
StefanPenchev05
added a commit
that referenced
this issue
Mar 13, 2024
StefanPenchev05
added a commit
that referenced
this issue
Mar 13, 2024
Merged
github-project-automation
bot
moved this from In Progress
to Done
in @StefanPenchev05's MyClothesV2 project
Mar 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
development
Still in the development phase
enhancement
New feature or request
frontend
Changes that affect the frontend
The current implementation of the
emailService.js
file is specifically tailored for sending verification emails during user registration. This limits the reusability of the code for other types of emails that the application might need to send, such as password reset emails, welcome emails, or promotional emails.The goal of this issue is to refactor the
sendVerifyMail
tosendMail
function inemailService.js
to make it more generic and reusable. This involves abstracting the email sending logic and allowing different email templates to be used based on the type of email being sent.Additionally, we should create a set of email templates for different scenarios. These templates should be customizable with variables for things like the recipient's name, verification links, etc.
By making these changes, we can ensure that our email service is flexible and can handle a variety of email sending tasks.
The text was updated successfully, but these errors were encountered: