Project

General

Profile

Feature #4598

Updated by mame (Yusuke Endoh) about 12 years ago

=begin 
 
 Net::SMTP, in function check_continue? (line 952) raises "could not get 3xx (STATUS_CODE)" when it receives anything except a 300-399 (continue) code from the SMTP server.    This is *extremely* unhelpful for users of the library, as the mail server usually sends an explanatory message that isn't passed along. 

 Suggest that it should be something like: 

  def check_continue(res) 
    unless res.continue? 
      raise SMTPUnknownError, "could not get 3xx (#{res.status}: #{res.string})" 
    end 
  end 

 

 =end 
 

Back