summaryrefslogtreecommitdiff
path: root/lib/net/pop.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-26 08:48:15 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-26 08:48:15 +0000
commitd8d148d81653d7be02ee2d4237b5e75856e02ee3 (patch)
treefb8b3458ccde7a9923c0ab9b33ef77f1bdf0f899 /lib/net/pop.rb
parent688169fd83b24564b653c03977c168cea50ccd35 (diff)
o protocol.rb: version 1.1.9
o smtp.rb: arguments discription of do_ready was wrongly void git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/pop.rb')
-rw-r--r--lib/net/pop.rb76
1 files changed, 0 insertions, 76 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb
index 440f894..616f537 100644
--- a/lib/net/pop.rb
+++ b/lib/net/pop.rb
@@ -216,66 +216,6 @@ Net::POP3
APOPSession = APOP
-=begin
-
-== Net::POP3Command
-
-POP3 command class.
-
-=== Super Class
-
-Net::Command
-
-=== Class Methods
-
-: new( socket )
- This method creates new POP3Command object. 'socket' must be ProtocolSocket.
-
-
-=== Methods
-
-: auth( account, password )
- This method do POP authorization (no RPOP)
- In case of failed authorization, raises Protocol::ProtocolError exception.
-
-: list
- a list of mails which existing on server.
- The list is an array like "array[ number ] = size".
-
- ex:
-
- The list from server is
-
- 1 2452
- 2 3355
- 4 9842
- :
-
- then, an array is
-
- [ nil, 2452, 3355, nil, 9842, ... ]
-
-: quit
- This method ends POP using 'QUIT' commmand.
-
-: rset
- This method reset all changes done in current session,
- by sending 'RSET' command.
-
-: top( num, lines = 0 )
- This method gets all mail header and 'lines' lines body
- by sending 'TOP' command. 'num' is mail number.
-
- WARNING: the TOP command is 'Optional' in RFC1939 (POP3)
-
-: retr( num : Integer )
- This method gets a mail by 'RETR' command. 'num' is mail number.
-
-: dele( num : Integer )
- This method deletes a mail on server by 'DELE'.
-
-=end
-
class POP3Command < Command
@@ -371,22 +311,6 @@ Net::Command
end
-=begin
-
-== APOPCommand
-
-=== Super Class
-
-POP3Command
-
-=== Methods
-
-: auth( account, password )
- This method do authorization by sending 'APOP' command.
- If server is not APOP server, this raises Net::ProtoAuthError exception.
- On other errors, raises Net::ProtocolError.
-
-=end
class APOPCommand < POP3Command