pop( dest = '' )
Instance Public methods
This method fetches the message. If called with a block, the message is
yielded to the block one chunk at a time. If called without a block, the
message is returned as a String. The optional dest argument
will be prepended to the returned String; this argument is essentially
obsolete.
Example without block
POP3.start('pop.example.com', 110,
'YourAccount, 'YourPassword') do |pop|
n = 1
pop.mails.each do |popmail|
File.op