Skip to content
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

Feat: Adding ContactUs Backend Functionality using NodeMailer #282

Conversation

harshbhar0629
Copy link
Contributor

Fixes #271 Adding contactUs backend functionality using nodemailer:)

@soham0005 Please assign level-3 because it required alot of code:)

Testing:)

test2.mp4

MAIL

mail

When onSubmit called then it call to apiConnector:)

UIContact

Api Connector called to backend api by creating axios instance:)

apiConnector

Backend:)
Middleware for contactUs

call

Backend "/contact" recieve post request and called to contactUsController

request

It call to mail sender function using try catch for error handling:)

contactUsController

It create a instance of nodemailer and after call to sendMail function and also render template for recieving mail

mailSender

Mail template:)

template

Copy link

vercel bot commented Oct 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
electro-kart-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2024 6:21pm

@harshbhar0629
Copy link
Contributor Author

harshbhar0629 commented Oct 26, 2024

@soham0005 Please review it and merge with label and assign level-3.

@harshbhar0629
Copy link
Contributor Author

@soham0005 Please review and merge it with labels:)

@harshbhar0629
Copy link
Contributor Author

@soham0005 Please assign Level-3 it required alot of code.

@PRathod27 PRathod27 merged commit 76ad0ed into soham0005:master Nov 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ContactUs Backend functionality using nodemailer
3 participants