Parent

Methods

Class Index [+]

Quicksearch

Net::SMTP

Public Instance Methods

tlsconnect(s) click to toggle source
    # File lib/mail/core_extensions/smtp.rb, line 10
10:     def tlsconnect(s)
11:       verified = false
12:       s = OpenSSL::SSL::SSLSocket.new s, @ssl_context
13:       logging "TLS connection started"
14:       s.sync_close = true
15:       s.connect
16:       if @ssl_context.verify_mode != OpenSSL::SSL::VERIFY_NONE
17:         s.post_connection_check(@address)
18:       end
19:       verified = true
20:       s
21:     ensure
22:       s.close unless verified
23:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.