I can read the mails from outlook from the inbox with
- Code: Select all Expand view RUN
- oOL := TOleAuto():New( "Outlook.Application" )
oNameSpace = oOL:Get( "GetNameSpace", "MAPI" )
oInbox = oNameSpace:Get( "GetDefaultFolder", "6" ) // 6 = Inbox-Folder
But how can I read it from a subfolder from the inbox?