method

each_mail

v2_2_9 - Show latest stable - Class: Net::POP3
each_mail()
public

Yields each message to the passed-in block in turn. Equivalent to:

pop3.mails.each do |popmail|
  ....
end

This method raises a POPError if an error occurs.