> The mailbox corrupts constantly, where that there is "no mail message
> number 1" - though there is 2, 3, etc.

We'll get to this after dealing with the next piece...

> I'm running a looped query against the mailbox that request the first
> message and then deletes it from the mailbox.

I'm not clear on whether you are doing this to "solve" the problem, or if
you are doing this for other reasons.

If you are doing it to solve this problem, I admire your work.  But, the
right thing to do is figure out why it is happening (see below).

If you are doing this for other reasons, then it obviously is your problem.
You really shouldn't be reading and writing to mailbox files.  Doing so
without knowing exactly how to do it is asking for troubles.


> The mailbox corrupts constantly, where that there is "no mail message
> number 1" - though there is 2, 3, etc.

Back to this again.  Assuming that looped query you wrote was in response to
the problem (IE it was occuring before you wrote that code), here is what to
do:

Take one of these corrupt mailboxes (the smallest one, or the one with the
least potentially confidential information), and send it to Ipswitch tech
support.  They should be able to at least figure out what is wrong with it,
and why you are experiencing the symptoms that you mention.

The next step, once the problem with the mailbox file is determined, is to
figure out why the mailbox is getting corrupted in that way.  The contents
of the corrupted mailbox file are the biggest clue (IE, missing data in
there, extra data, whatever).
                                       -Scott

Declude: Anti-spam and Anti-virus solutions for IMail.
http://www.declude.com

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to