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

Refine SMTP port selection and fallback logic #207

Merged
merged 1 commit into from
Apr 6, 2024

Conversation

wneessen
Copy link
Owner

@wneessen wneessen commented Apr 6, 2024

The update modifies the client's handling of port selection when configuring SSL/TLS connections. The clients' functions WithSSLPort, WithTLSPortPolicy, SetTLSPortPolicy, and SetSSLPort are revised to avoid overriding previously set ports. Additionally, the deprecation notes have been removed and replaced with notes on best-practice recommendations, referring the new Port() methods. This change revises #105 and takes the comments made in #181 into account.

This PR closes #181

The update modifies the client's handling of port selection when configuring SSL/TLS connections. The clients' functions `WithSSLPort`, `WithTLSPortPolicy`, `SetTLSPortPolicy`, and `SetSSLPort` are revised to avoid overriding previously set ports. Additionally, the deprecation notes have been removed and replaced with notes on best-practice recommendations, referring the new *Port*() methods. This change revises #105 and takes the comments made in #181 into account.
@wneessen wneessen merged commit 2fd3167 into main Apr 6, 2024
27 checks passed
@wneessen wneessen deleted the enhancement/181_rework-tlsportpolicy branch April 6, 2024 15:01
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.

Rework TLSPortPolicy()
1 participant