From: markjreed@... Date: 2021-04-13T19:14:53+00:00 Subject: [ruby-core:103438] [Ruby master Bug#17800] Cannot disable TLS through mail library Issue #17800 has been reported by MarkTheStrange (Mark Reed). ---------------------------------------- Bug #17800: Cannot disable TLS through mail library https://bugs.ruby-lang.org/issues/17800 * Author: MarkTheStrange (Mark Reed) * Status: Open * Priority: Normal * ruby -v: ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-darwin19] * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ Unsubscribe: