⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Net
/
POPMail
/
View File Name :
pop-i.ri
U:RDoc::AnyMethod[iI"pop:ETI"Net::POPMail#pop;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"CThis method fetches the message. If called with a block, the ;TI"Emessage is yielded to the block one chunk at a time. If called ;TI"Iwithout a block, the message is returned as a String. The optional ;TI"D+dest+ argument will be prepended to the returned String; this ;TI"&argument is essentially obsolete.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Example without block;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:@format0S;; i;I"Example with block;T@o;; [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"2 popmail.pop do |chunk| #### ;TI" f.write chunk ;TI" end ;TI" end ;TI" n += 1 ;TI" end ;TI" end ;T;0o; ; [I"6This method raises a POPError if an error occurs.;T: @fileI"lib/net/pop.rb;T:0@omit_headings_from_table_of_contents_below00I"message_chunk;T[[I"all;To;; [ ;@5;0[I" mail;To;; [ ;@5;0I"( dest = +'' );T@5FI"POPMail;TcRDoc::NormalClass00