You've got the right idea with deleting in reverse. That's they way to 
do it if you have a gui and want to trash a selected few. Also, Paul's 
comments are good. Delte all is faster than deleting one at a time.

One more tip for you, if you process one at a time, it's easy to run a 
GetAll on message #1, process it, delete it and get the next message #1 
until there aren't any more. This avoids any problems with Paul's 
structure, say you receive 3 emails in the time it takes to 
download/process and delete them all. Then you've just dumped 3 unread 
emails.

-nathan strutz
http://www.dopefly.com/




Robert Nurse wrote:
>>AFAIK, all messages have an ID. The ID is a number assigned by CF to 
>>identify which message it is. They always start with #1, so you have to 
>>be careful, because if you delete the first message, they act like an 
>>array, (push & pop) so now message #2 is #1, etc.
>>
>>-nathan strutz
>>http://www.dopefly.com/
>>
>>
> 
> 
> Hi Nathan,
> 
> So, let's say there are 10 messages numbered 1-10 and I want to delete 
> messages 2, 3, 6 and 7.  Deleting them from the bottom up should be safe 
> because when I delete message 7, the message numbers 2 and 3 still point to 
> the right message.  Correct?
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198444
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

Reply via email to