Are you using the messagenumber or uid when you delete the messages? This is a bit of a vague memory but I seem to remember that messagenumber cannot be relied upon 100% and that uid works better.
Sorry that is rather sketchy but may give you an avenue to explore. :-) On 3/22/06, LaCroix, Chris <[EMAIL PROTECTED]> wrote: > > I have an application that uses CFPOP and most of the time it runs fine, > but every once and a while I receive the following error: > > Error Message: > An exception occurred while retrieving mail. > > Error Detail > The cause of this exception was: javax.mail.MessageRemovedException. > > My code does the following: > 1) Loops though 4 exchange mailboxes > 2) Getting header only > 3) If error while trying to cfpop send email alert to admin, else > process wanted mail items then delete processed items. > > I can also supply some code if that helps. > > ColdFusion MX Standard Edition (Version 7,0,1,116466) > Windows 2003 > Exchange 2003 > > Thanks, --Chris > > > ______________________________________________________________________ > This transmittal may be a confidential attorney-client communication or > may otherwise be privileged or confidential. If it is not clear that you are > the intended recipient, you are hereby notified that you have received this > transmittal in error; any review, dissemination, distribution or copying of > this transmittal is strictly prohibited. If you suspect that you have > received this communication in error, please notify us immediately by > telephone at 1-860-275-8200, or e-mail at [EMAIL PROTECTED] and immediately > delete > this message and all its attachments. > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235983 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54