Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > net/smtpライブラリ > Net::SMTPクラス > read_timeout

instance method Net::SMTP#read_timeout

read_timeout -> Integer

読みこみ (read(2) 一回) でブロックしてよい最大秒数を返します。

デフォルトは60(秒)です。 この秒数たっても読みこめなければ例外 TimeoutError を発生します。

[SEE_ALSO] Net::SMTP#read_timeout=

class Net::SMTP