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.