Re: question about reset counter/data



Hi all,

receive msg : 1234
sent msg : 1234

Mailbox CountIn CountOut
Count
ABC 1232 1232 0
ASD 2 2 0

According to the above, for example i have two mailboxs. The ABC
mailbox hav 1232 msg come in and 1232 msg come out and also same to
ASD mailbox. how should i do to reset the counter for both of receive
and sent msg using proc?




Can anyone tell me how to reset data/count after msg come in and out
for n amount of
time?
I tried to use after msg in and out but how do reset or resize the
total that the application is back in the zero
This is kind of my logic so far:

1) When msg come in and out, each mailbox have to reset to zero
(after idle)
2) If things happen during this period of time, cancel the idle
callback
(after cancel)
3) and wait until the next idle occur and reset to zero
.



Relevant Pages

  • Okay Heres the problem: in Index
    ... the email message. ... import string, StringIO ... import mailbox, email, re ... for w in msg: ...
    (comp.lang.python)
  • Re: Reading a Directory of Emails - Problems
    ... like to parse them using the email and mailbox packages. ... From what I gather, I need to use MHMailbox, ... Yet this works when using PortableUnixMailbox (on an mbox file, ... Instead of print msg.keys(), just do a 'print msg' and see what data ...
    (comp.lang.python)
  • Re: deleted mail wont stay in trash
    ... alphabetize my Mail.app rules, other than the ones that deal with ... I now find that when I delete a mail msg that matches one of these ... it doesn't stay in the Trash. ... up back into its preordained mailbox. ...
    (comp.sys.mac.system)
  • Re: question about reset counter/data
    ... receive msg: 1234 ... Did an external program generate that text? ... ASD mailbox. ... What does it mean to "reset a counter for a mailbox"? ...
    (comp.lang.tcl)
  • Re: question about reset counter/data
    ... receive msg: 1234 ... out will be reset to zero. ... The "CountOut" of a mailbox meanz if the ...
    (comp.lang.tcl)