Re: MAPI Received Time 1 Hour Earlier Than Outlook 2003 Received Time



When you say you're using MAPI, which MAPI library are you using?

In MAPI all PT_SYSTIME values are stored in GMT and then converted into local time by Outlook. So are you off from GMT by 1 hour? If so you will need to do your own conversion.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Matthew Gibson" <MatthewGibson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:85D0C870-13D8-4547-85D8-7F893B60057B@xxxxxxxxxxxxxxxx
Can anyone help. I am using VB 6 and MAPI to get email information from a
mailbox open in outlook 2003. The received time in outlook is for instance
13:10. This is displayed in the inbox. But the received time using MAPI is
always 1 hour earlier, for instance 12:10. Why? The time being displayed by
outlook is the correct time. Can this time be got at through the MAPI
interface?

.



Relevant Pages

  • Re: How to replace an attachment from a file.wav to a winmail.dat
    ... And it will not have Outlook installed on. ... when the code tries to convert back from MAPI to MIME using the ... we created one stream object with the contents of the file using the ... and we created the new tnef stream using the OpenTnefStreamEx ...
    (microsoft.public.win32.programmer.messaging)
  • Re: What is next step to extracting PST contact items
    ... IMO mode doesn't really support Extended MAPI. ... We cut IMO mode in Outlook 2002. ... and MAPI Developer Tool ... An unexpected error has occurred. ...
    (microsoft.public.win32.programmer.messaging)
  • Re: SaveChanges problem
    ... Currently we have not found any known issue regarding using OOM and MAPI ... OutlookSpy - Outlook, CDO ... been able to duplicate it normally, but I can when using Outlook Spy ...
    (microsoft.public.win32.programmer.messaging)
  • Re: SaveChanges problem
    ... Currently we have not found any known issue regarding using OOM and MAPI ... OutlookSpy - Outlook, CDO ... been able to duplicate it normally, but I can when using Outlook Spy ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Calling MAPI from C++/CLI
    ... OutlookSpy - Outlook, CDO ... and MAPI Developer Tool ... MAPI32.dll and marshal calls from my main, managed-code Outlook ... The whole process starts when Outlook loads my dll and calls the ...
    (microsoft.public.win32.programmer.messaging)