![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#5
|
|||
|
|||
![]()
Hallo Dmitry
thank you very much, it works great. Also the tip to MAPI date/time saved hours! Have a nice weekend, Volker "Dmitry Streblechenko" schrieb im Newsbeitrag ... Assuming MailItem variable points to an Outlook item that you already have in your code, something like the following should do the trick: PR_FLAG_COMPLETE_TIME = &H10910040 set sItem = CreateObject("Redemption.SafeMailItem") sItem.Item = MailItem MsgBox sItem.Fields(PR_FLAG_COMPLETE_TIME) Keep in mind that all MAPI date/time properties are in UTC, You can convert them to the local time zone using MAPIUtils.HrGMTToLocal Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Volker Schreiner" wrote in message ... Hallo Dmitry, thank you for your help. I did load your REDEMPTION and linked it to my Outlook-Project. I looked on your site for a little help, but I did'nt found some. Could you give me some sample-code? Volker "Dmitry Streblechenko" schrieb im Newsbeitrag ... You need to read the PR_FLAG_COMPLETE_TIME MAPI property (0x10910040) using Extended MAPI (C++ or Delphi), CDO 1.21 or Redemption. In Outlook 2007, you can also read that property using MailItem.PropertyAccessor. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Volker Schreiner" wrote in message ... Hello NG, I'm looking for a way in VBA to read the DATECOMPLETED of a MAILITEM. It is shown in the top-lines of the Explorers Preview, but I didn't found a property. I'm using Outlook 2003 / WIN XP Greetings, Volker |
Thread Tools | Search this Thread |
Display Modes | |
|
|