mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
cff50d9f93
commit
e1a6b435db
2 changed files with 6 additions and 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>
|
Wed Aug 27 05:10:15 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* win32/win32.c (map_errno): support winsock error.
|
* win32/win32.c (map_errno): support winsock error.
|
||||||
|
|
|
@ -601,7 +601,7 @@ module Net # :nodoc:
|
||||||
|
|
||||||
def check_response( res, allow_continue = false )
|
def check_response( res, allow_continue = false )
|
||||||
return res if /\A2/ === res
|
return res if /\A2/ === res
|
||||||
return res if allow_continue and /\A354/ === res
|
return res if allow_continue and /\A3/ === res
|
||||||
err = case res
|
err = case res
|
||||||
when /\A4/ then SMTPServerBusy
|
when /\A4/ then SMTPServerBusy
|
||||||
when /\A50/ then SMTPSyntaxError
|
when /\A50/ then SMTPSyntaxError
|
||||||
|
|
Loading…
Add table
Reference in a new issue