Message.TimeReceived error

  • Thread starter Thread starter Daniel Rimmelzwaan
  • Start date Start date
D

Daniel Rimmelzwaan

All,

I am getting the following error:
'The call to member TimeReceived failed. Collaboration Data Objects returned
the following message: [Collaboration Data Objects -
[MAPI_E_NOT_FOUND(8004010F)]]'

Apparently, there is something wrong with the time received, although in the
email I am checking there appears to be a time received. Does anybody know
what this is about? If so, is there a return value that I can check to catch
the error?

Thanks,
Daniel
 
Hard to say what's happening without seeing your code. In general if you use
an On Error Resume Next statement or other error handler you can check the
Err object for the error you are receiving.
 
That property is most likely not present on the messaeg in question. Look at
it with MdbView or OutlookSpy to see if you can use other properties.
Did you try the PR_CLIENT_SUBMIT_TIME and PR_MESSAGE_DELIVERY_TIME
properties?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top