VS.NET 2010/2012 Users Click Here   

HOMECONTACT PRODUCTS DOWNLOADS PURCHASE TESTIMONIALS FORUMS COMPANY CONTACT
Home
Products
Downloads
Purchase
Licensing
Licensing FAQ
Software Updates
Support Forums
Testimonials
Feature Requests
Guarantee
About Us
Contact Us
Hosting Companies
Privacy Policy
   
Shopping Cart


Search
ListNanny forum



[ Reply to Post ] [ Back To Forum ]
From: "dave wanta" <dave@...>
Date: 3/1/2011 7:09:07 AM
Subject: RE: Deleting Processed Email from Imail Mailbox
Hi Ed,
That is correct. ListNanny does not actually delete any messages from the .mbx file. It only deletes individual .eml files.

Internally, ListNanny creates a fake filename, based upon the mbx file, simply for tracking purposes. ListNanny should actually throw an exception if you try to delete this non-existant file.

The only way for you to remove messages from the .mbx file, is for you to remove code to do that yourself.

To determine which message you are on, to delete, you should be able to get access to the ParseNDRDirectoryEventArgs.Index property.

If you are going to remove messages from the .mbx file, I would recommend keeping track of all indexes of the messages you want to remove.

Then, start removing messages from the highest index, to the lowest. This will prevent the internall messages of the mbx file from being reindexed.

hth,
Dave

 

 

 



Thread View

Subject By Date
Deleting Processed Email from Imail Mailbox Ed Swartz 3/1/2011
   RE: Deleting Processed Email from Imail Mailbox [ you are here ] dave wanta 3/1/2011
     RE: Deleting Processed Email from Imail Mailbox Ed Swartz 3/1/2011
       RE: Deleting Processed Email from Imail Mailbox dave wanta 3/1/2011
     RE: Deleting Processed Email from Imail Mailbox David 10/19/2011
       RE: Deleting Processed Email from Imail Mailbox dave wanta 10/19/2011
         RE: Deleting Processed Email from Imail Mailbox David 10/20/2011
           RE: Deleting Processed Email from Imail Mailbox dave wanta 10/20/2011
             RE: Deleting Processed Email from Imail Mailbox David 10/20/2011
               RE: Deleting Processed Email from Imail Mailbox dave wanta 10/20/2011
                 RE: Deleting Processed Email from Imail Mailbox David 10/20/2011
                   RE: Deleting Processed Email from Imail Mailbox dave wanta 10/20/2011

 

 

Testimonial

aspNetEmail is a very nice product that is extremely simple to use. Such personal attention! I am impressed. "

Ross

Read more testimonials
ListNanny aspNetDNS aspNetEmail aspNetPOP3 aspNetMX aspNetMIME aspNetPING aspNetTraceRoute aspNetIMAP aspNetMHT