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.
# File lib/net/pop.rb, line 664
def each_mail(&block) # :yield: message
mails().each(&block)
end