Repository navigation
Stage - #258
Merged
Merged
Stage#258
Conversation
- Add connection pooling and reusable transporter to nodemailer configuration - Validate EMAIL_ID and EMAIL_PASSWORD with early return to avoid network timeouts - Introduce critical flag so notification failures log instead of throwing - Support dynamic FRONTEND_URL in emailTemplates instead of hardcoded domain
…gnup failure - Resolve broken URL concatenation by extracting clean origin via getFrontendBaseUrl helper - Automatically roll back user record if verification email fails during signup to prevent lockout - Eliminate manual bcrypt hashing in resetPassword to prevent double-hashing - Make alumni verification notification email non-blocking to prevent false failure responses - Add POST /auth/resend-verification endpoint for expired or missing verification tokens
…il notifications - Wrap notification email dispatch in try-catch so SMTP errors do not fail core operations - Prevent self-notifications for post authors commenting or asking questions on their own posts - Add recipient email fallback to instituteEmail/personalEmail across notification flows
… non-blocking - Support personalEmail for alumni and users without instituteEmail on achievement submission - Wrap achievement notification dispatch in try-catch so submission succeeds even if email fails
…eholders - Document EMAIL_ID, EMAIL_PASSWORD, and FRONTEND_URL - Include server port and CORS origin setup guide
Mail issues
… EditPost - Check for token existence before initiating post create or update requests - Catch 401 responses, clear expired token, show user-friendly message, and redirect to login
Mail issues
- Use port 465 with direct SSL for reliable cloud delivery - Strip accidental whitespace from EMAIL_PASSWORD - Remove socket pooling to prevent frozen serverless connection timeouts - Add explicit socket, greeting, and connection timeouts
Mail issues
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.