method

each_mail

v1_9_1_378 - 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.