The first thing I thought was maybe that the senders are forwarding the
same original message to you, therefore, causing the problem. But, if
you say the UIDs are different, that may not be the case. However, it
is worth asking them.
Regarding the UNREAD flag, you can set this using CFEXCHANGEMAIL
ACTION="SET". In the message structure, set IsRead = "no" for a
particular message.
M!ke
-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, February 11, 2008 12:39 PM
To: CF-Talk
Subject: CFEXCHANGEMAIL overwriting message on ACTION="MOVE"
Here's an odd one: I have a small app that runs every 15 minutes and
unloads messages from MSX inboxes, detaches and saves their attachments,
and then when done with each message moves it to a subfolder under the
INBOX called PROCESSED. These messages arrive every day, always from
the same senders, and always with the same subject lines. Usually, but
not always, when it does the ACTION="MOVE" at the end of the processing,
the new message replaces the existing message that arrived the previous
day, even though they have differing UID values. I've ended up putting
code both before and after the ACTION="MOVE" that does an ACTION="GET"
of the PROCESSED folder, and dumps the contents, and those dumps verify
this behavior, including the unique UID values.
Here's the code that's doing the ACTION="MOVE"
The var "thisProcessedFolder" value is typically "INBOX/Processed"
Anyone see anything wrong with this code, or witnessed a similar
behavior? On a related note, since the details on this tag are a little
sparce in the LiveDocs, can I manipulate the READ flag of a message?
That would let me work around this problem so that I don't reprocess
previously processed messages.
thanks everyone,
Reed
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298735
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4