Ahhhhh.... makes sense, except for CF's documentation saying that an
improper message number is ignored (certainly wouldn't be the first time
the docs are blatantly wrong).  I need to process the messages in
chronological order.  If I'm deleting every one, then I suppose I could
simply delete message number 1 every time through the loop?

I also considered deleting them all at once, using a list of message
numbers, after the loop is finished, but that leaves open the
possibility that the program could crash before doing the deletions, and
subsequently re-read and duplicate data that's contained in the
messages.

Now, if I can find an explanation (and a fix) as to why CF doesn't 'see'
messages with the "Content-Type: application/x-gm-impdata"headers, I'll
be set.

Thanks,
Jim


-----Original Message-----
From: Scott, Andrew <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Date: Thursday, September 21, 2000 8:05 PM
Subject: RE: CFPOP Problems


>When deleting messages you have to remember one thing, for this example
lets
>say we have 5 messages retrieved. Now if we remove message number 5
then the
>new number five becomes what was previoulsy as number 6. The best thing
to
>do is to remove the messages in reverse order, so using the cfloop
>from=Total to=1 step=-1 will do the trick:-)
>
>regards
>
>Andrew Scott
>ANZ eCommerce Centre
>* Ph 9273 0693
>* [EMAIL PROTECTED]
>
>
>-----Original Message-----
>From: Jim McAtee [mailto:[EMAIL PROTECTED]]
>Sent: 22 September 2000 12:13
>To: CF-Talk
>Subject: CFPOP Problems
>
>
>I'm having two problems using CFPOP under CF 4.5.1 SP1:
>
>First, I sometimes receive an error when deleting messages.  I do a
>CFPOP, retrieve multiple messages, loop through them and do my thing.
>Then when I try to use CFPOP to delete a message (I delete each one
>inside the loop), I'll get this error (from memory).  For example, I
>might retrieve 12 messages, and when I try to delete the 8th one, it'll
>throw this error:
>
>Message number out of range.
>
>From the CF 4.5 docs, I read the following, which makes no sense to me,
>given the above error:
>
>MESSAGENUMBER can contain individual message numbers or a
>comma-separated
>list of message numbers. Invalid message numbers will be ignored.
>
>Second problem: (This worked fine under CF 4.0.1).  When I retrieve
>messages containing a header of "Content-Type:
>application/x-gm-impdata", CF does not retrieve the body of the
message,
>nor does it save an attachment.  It's as if the message were completely
>blank.  Under 4.0.1, CFPOP apparently saw this as a message body, and
>populated the 'body' column in the returned query.
>
>Any help appreciated,
>Jim
>
>
>
>
>
>-----------------------------------------------------------------------
-----
>--
>Archives: http://www.mail-archive.com/[email protected]/
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or
>send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
>the body.
>-----------------------------------------------------------------------
-------
>Archives: http://www.mail-archive.com/[email protected]/
>To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to