I am using messageNumber to delete the messages, but I error before that. Unless you thinking the message I tried to delete is causing an error the next time the process ran again. FYI: This morning I received this sporadically for over two hours, but have not received the error for the last 3 hours.
-----Original Message----- From: Michael Traher [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 1:44 PM To: CF-Talk Subject: Re: CFPOP MessageRemovedException Error 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:235984 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

