1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/net
aamine c20ecb1ba4 * lib/net/smtp.rb: unify SMTP and SMTPCommand.
* lib/net/smtp.rb: new exception class SMTPError.
* lib/net/smtp.rb: new exception class SMTPAuthenticationError.
* lib/net/smtp.rb: new exception class SMTPServerBusy.
* lib/net/smtp.rb: new exception class SMTPSyntaxError.
* lib/net/smtp.rb: new exception class SMTPFatalError.
* lib/net/smtp.rb: new exception class SMTPUnknownError.
* lib/net/smtp.rb: change critical section protect algorithm.
* lib/net/smtp.rb (SMTP#do_start): check authentication args before all.
* lib/net/smtp.rb: new method send_message (alias send_mail).
* lib/net/smtp.rb: new method open_message_stream (alias ready).
* lib/net/pop.rb: POPBadResponse is a POPError.
* lib/net/pop.rb (POPMail#pop): ban ReadAdapter.
* lib/net/pop.rb (POPMail#top): ditto.
* lib/net/pop.rb (POP3Command): change critical section protect algorithm.
* lib/net/pop.rb (POP3Command#auth): USER and PASS should be one critical block.
* lib/net/pop.rb (POP3Command#retr): ban `dest' argument using iterator.
* lib/net/pop.rb (POP3Command#top): ditto.
* lib/net/protocol.rb: #read_message_to -> #each_message_chunk
* lib/net/protocol.rb: #D -> #LOG
* lib/net/protocol.rb: #D_off -> #LOG_off
* lib/net/protocol.rb: #D_on -> #LOG_on


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-02 02:34:39 +00:00
..
ftp.rb * lib/net/ftp.rb (storebinary): seek correctly. Thanks, William Webber. 2003-06-13 00:26:51 +00:00
http.rb * lib/net/http.rb: set old class aliases for backward compatibility. [ruby-talk:74863] 2003-07-02 02:05:35 +00:00
imap.rb * eval.c (proc_alloc): re-unification of Block and Proc. Block 2003-06-16 07:14:50 +00:00
pop.rb * lib/net/smtp.rb: unify SMTP and SMTPCommand. 2003-07-02 02:34:39 +00:00
protocol.rb * lib/net/smtp.rb: unify SMTP and SMTPCommand. 2003-07-02 02:34:39 +00:00
smtp.rb * lib/net/smtp.rb: unify SMTP and SMTPCommand. 2003-07-02 02:34:39 +00:00
telnet.rb * eval.c (rb_call_super): inheritance line adjustment moved from 2003-06-03 09:40:21 +00:00