Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Net
/
POPMail
/
//opt/alt/ruby27/share/ri/system/Net/POPMail/delete-i.ri
U:RDoc::AnyMethod[iI"delete:ETI"Net::POPMail#delete;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"DMarks a message for deletion on the server. Deletion does not ;TI"Bactually occur until the end of the session; deletion may be ;TI"Acancelled for _all_ marked messages by calling POP3#reset().;To:RDoc::Markup::BlankLine o; ; [I"6This method raises a POPError if an error occurs.;T@S:RDoc::Markup::Heading: leveli: textI"Example;T@o:RDoc::Markup::Verbatim; [I"(POP3.start('pop.example.com', 110, ;TI"8 'YourAccount', 'YourPassword') do |pop| ;TI" n = 1 ;TI"# pop.mails.each do |popmail| ;TI"- File.open("inbox/#{n}", 'w') do |f| ;TI" f.write popmail.pop ;TI" end ;TI"% popmail.delete #### ;TI" n += 1 ;TI" end ;TI"end;T:@format0: @fileI"lib/net/pop.rb;T:0@omit_headings_from_table_of_contents_below000[[I"delete!;To;; [ ;@#;0I"();T@#FI"POPMail;TcRDoc::NormalClass00