D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Net
/
POP3
/
Filename :
delete_all-c.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Starts a POP3 session and deletes all messages on the server. If a block is given, each POPMail object is yielded to it before being deleted. - !ruby/struct:SM::Flow::P body: This method raises a POPAuthenticationError if authentication fails. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " Net::POP3.delete_all('pop.example.com', 110,\n 'YourAccount', 'YourPassword') do |m|\n file.write m.pop\n end\n" full_name: Net::POP3::delete_all is_singleton: true name: delete_all params: (address, port = nil, account = nil, password = nil, isapop = false, &block) visibility: public