From: "Frank S.Fejes" Date: 2003-03-02T14:51:34+09:00 Subject: Re: Additions to pop.rb... Great! I do think, though, that stat should belong to the POP3 object since (if I understand correctly) POPMail is only one email object. The 'stat' method returns information on the size of the entire POP3 mailbox and the number of emails (POPMail objects) inside. --frank On Sun, 2 Mar 2003 14:36:50 +0900 Minero Aoki wrote: > Hi Frank, > > In mail "Additions to pop.rb..." > Frank S.Fejes III wrote: > > > Hello all. I don't quite know if this is the place to post these types > > of submissions but I cannot seem to find anywhere else. > > > > Anyway, I have made an update to pop.rb (from the ruby-1.6.8 > > distribution) to give POP3 STAT command functionality (POP3#stat). The > > method returns an array of [numMessages, size]. I have also added a > > BadResponseError class to the bottom like it is in smtp.rb since I could > > not find where BadResponse(in the POP3#list method) was located and it > > seemed like a problem as it is. > > Thank you very much. Your patch seems good, except `stat' method > should belongs to POPMail object. I'll commit your patch with little > modification. > > Best regards, > Minero Aoki > > P.S. > Sorry for late response. I'm quite busy these days... >