Hi,
I have to obtain Date and Time, but I have only the date...see below.
Which property have I to use for time?
Thanks
LOCAL oOutlook := TOleAuto():New( "Outlook.Application" )
LOCAL oNameSpace := oOutlook:getnamespace('MAPI')
LOCAL oFolder := oNameSpace:GetDefaultFolder( 5 )
LOCAL nItems
LOCAL oMail
LOCAL iMsg
LOCAL cNomeMsg
nItems := oFolder:Items:Count
oMeter:nTotal := nItems
FOR iMsg := 1 TO nItems
oMail := oFolder:Items[ iMsg ]
? oMail:Subject // Test email
? omail:SentOn // 16/04/2010
? oMail:CreationTime // 16/04/2010
? oMail:ReceivedTime // 16/04/2010
NEXT iMsg