ReceivedTime

  • Thread starter Thread starter JonWayne
  • Start date Start date
J

JonWayne

I have a routine written in VBA that iterates all the MailItems in the Inbox
and, based on certain attributes, move some messages to a different folder.
The problem is, whenever a message is moved, the Received column displays
the time of move instead of the time that message was received in the Inbox.
Is there any way I can get the desired time displayed after the move?

Thank you all
 
Are you sure, that this is the received time, which is changing, normally
the modification time (PP_LAST_MODIFICATION_TIME) is automatically changing
if an object is updated, on Exchange there is no way to modify either the
creation time nor the last modification time, in PST files, the first write
to a new message object is setting both dates if the message is a new
message. Instead of moving, try creating a new message and copy the
properties instead.
Maybe you want to see which properties are modified by installing mdbview
(see Microsoft SDK) or Outlookspy (www.dimastr.com).

Thomas Quester
www.olfolders.de
 
Well, I have only a few fields displayed in the Preview pane, one of which
is the 'Received' field. This is the field that changes when I move a
message programatically. The odd thing is, it doesnt change when I manually
mouse-drag messages.
 
Also, if I create a new message, isnt the cration time going to be set to,
well, the creation time?
 
The creation time can not be modified, but the last modification time can be
set until the message was first saved (except on Exchange which always sets
the last modification time to the time it was modified).

Thomas Quester
www.olfolders.de
 
Back
Top