diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-27 06:08:14 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-27 06:08:14 +0000 |
commit | e1a6b435db5427aefd13fa3ba5f30bdc814fcbe4 (patch) | |
tree | a5a612b907bde642570f21f0fc1ed3c56ef38a5f | |
parent | cff50d9f9391110d715a7ec5f0551df322c5851d (diff) | |
download | ruby-e1a6b435db5427aefd13fa3ba5f30bdc814fcbe4.tar.gz |
* lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334 response. [ruby-list:38279]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/net/smtp.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Aug 27 15:07:57 2003 Minero Aoki <aamine@loveruby.net> + + * lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334 + response. [ruby-list:38279] + Wed Aug 27 05:10:15 2003 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c (map_errno): support winsock error. diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 85d2452c5b..d2de78239b 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -601,7 +601,7 @@ module Net # :nodoc: def check_response( res, allow_continue = false ) return res if /\A2/ === res - return res if allow_continue and /\A354/ === res + return res if allow_continue and /\A3/ === res err = case res when /\A4/ then SMTPServerBusy when /\A50/ then SMTPSyntaxError |