End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Net::POP3.enable_ssl
Net::POP.enable_ssl(params = {})
lib/net/pop.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/net/pop.rb, line 332
def POP3.enable_ssl(*args)
@ssl_params = create_ssl_params(*args)
end
Enable SSL for all new instances. params is passed to OpenSSL::SSLContext#set_params.