From e1a6b435db5427aefd13fa3ba5f30bdc814fcbe4 Mon Sep 17 00:00:00 2001 From: aamine Date: Wed, 27 Aug 2003 06:08:14 +0000 Subject: * 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 --- ChangeLog | 5 +++++ lib/net/smtp.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fa358a5d36..d8262a3728 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Aug 27 15:07:57 2003 Minero Aoki + + * lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334 + response. [ruby-list:38279] + Wed Aug 27 05:10:15 2003 NAKAMURA Usaku * 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 -- cgit v1.2.3