Project

General

Profile

Actions

Bug #17800

closed

Cannot disable SMTP TLS through mail library

Added by MarkTheStrange (Mark Reed) over 3 years ago. Updated over 3 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-darwin19]
[ruby-core:103438]

Description

Net::SMTP now defaults to automatic TLS; the mail interface hasn't been updated to reflect this. It will turn TLS on or to automatic if requested, but has no way to turn it off if requested, because it assumes that it defaults to off in Net::SMTP.

The build_smtp_session method should probably call both smtp.disable_tls and s mtp.disable_starttls before checking its parameters to see if it needs to turn either of those back on.

Actions

Also available in: Atom PDF

Like0
Like0Like0