summaryrefslogtreecommitdiff
path: root/lib/net/smtp.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-27 06:08:14 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-27 06:08:14 +0000
commite1a6b435db5427aefd13fa3ba5f30bdc814fcbe4 (patch)
treea5a612b907bde642570f21f0fc1ed3c56ef38a5f /lib/net/smtp.rb
parentcff50d9f9391110d715a7ec5f0551df322c5851d (diff)
* 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
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r--lib/net/smtp.rb2
1 files changed, 1 insertions, 1 deletions
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