fix: replace Resend with Nodemailer SMTP #61
Merged
Merged
Conversation
…d add configuration validation utilities
|
✅ PR Validation Passed Your PR title and description meet all requirements:
|
3 similar comments
|
✅ PR Validation Passed Your PR title and description meet all requirements:
|
|
✅ PR Validation Passed Your PR title and description meet all requirements:
|
|
✅ PR Validation Passed Your PR title and description meet all requirements:
|
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.
Summary
Removes the Resend SDK entirely and switches email delivery to Nodemailer via SMTP (Gmail).
Fixes OTP email failures on Railway caused by IPv6 routing issues on outbound SMTP connections.
Related issue
Fixes #60
Changes
resendpackage from dependencies (npm uninstall resend)lib/notifyMail.tswith Nodemailer SMTP transportfamily: 4to force IPv4 on Railway (fixesENETUNREACHon IPv6 SMTP addresses)tls: { rejectUnauthorized: false }to handle Railway TLS edge caseslib/validateConfig.tsto validateSMTP_HOST,SMTP_USER,SMTP_PASSinstead ofRESEND_*env varslib/validateConfig.js(stale Resend artifact)README.md— tech stack, prerequisites, and env var examples now reflect SMTP/NodemailerTesting
resendpackage is fully removed fromnode_modulesandpackage.jsonSMTP_HOST,SMTP_PORT,SMTP_USER,SMTP_PASSenv vars (no Resend keys needed)Checklist
Fixes #60