Skip to content

Fix smtp network unreachable error#2

Draft
alexdatur wants to merge 2 commits into
mainfrom
cursor/fix-smtp-network-unreachable-error-9b02
Draft

Fix smtp network unreachable error#2
alexdatur wants to merge 2 commits into
mainfrom
cursor/fix-smtp-network-unreachable-error-9b02

Conversation

@alexdatur
Copy link
Copy Markdown
Owner

Explicitly configure SMTP TLS mode (STARTTLS for 587, implicit for 465) to fix "SSL wrong version number" errors.

The previous SmtpTransport::relay on port 587 was causing a TLS handshake error with Gmail, indicating the client was negotiating the wrong TLS mode. This change ensures the correct TLS method is used based on the SMTP_PORT environment variable.


Open in Cursor Open in Web

Co-authored-by: mescalito911 <mescalito911@gmail.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Aug 22, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Co-authored-by: mescalito911 <mescalito911@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants