Method: Net::SMTP#open_timeout
- Defined in:
- lib/net/smtp.rb
#open_timeout ⇒ Object
Seconds to wait while attempting to open a connection. If the connection cannot be opened within this time, a Net::OpenTimeout is raised. The default value is 30 seconds.
422 423 424 |
# File 'lib/net/smtp.rb', line 422 def open_timeout @open_timeout end |