Bug #17800
closedCannot disable SMTP TLS through mail library
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.
Updated by MarkTheStrange (Mark Reed) about 4 years ago
- Subject changed from Cannot disable TLS through mail library to Cannot disable SMTP TLS through mail library
Updated by jeremyevans0 (Jeremy Evans) about 4 years ago
- Status changed from Open to Third Party's Issue
Looks like you are referring to the mail gem, which is not part of Ruby itself: https://github.com/mikel/mail/blob/8fbb17d4d5364c77cc870769d451bc2739b3a8ce/lib/mail/network/delivery_methods/smtp.rb#L112
You could try submitting an issue to that project: https://github.com/mikel/mail/issues