Skip to content

Reset SMTP capabilities around connection attempts - #106

Open
OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/capability-lifecycle-smtp
Open

Reset SMTP capabilities around connection attempts#106
OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/capability-lifecycle-smtp

Conversation

@OskarEichler

Copy link
Copy Markdown

Clear the cached EHLO capability map before every connection attempt and again when a partial start fails. Reusing an SMTP object currently exposes capabilities from a previous server before a new EHLO, and a failed reconnect can leave partial state visible.

The isolated and cumulative sources pass 95 tests / 170 assertions on Ruby 4.0.6 and 3.2.11. External lifecycle models reproduce four baseline failures and pass after this change; Mail 2.9.1 local delivery also passes. No repository test files were changed.

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.

1 participant