delete_all()
Instance Public methods
Deletes all messages on the server.
If called with a block, yields each message in turn before deleting it.
Example
1 2 3 4 5 6 7 | n = 1 pop.delete_all do |m| File .open( "inbox/#{n}" ) do |f| f.write m.pop end n += 1 end |
This method raises a POPError if an error occurs.
Please login to continue.