![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How to retireve "PR_SEARCH_KEY" property of a mail in vbscript formailbox using Outlook MAPI? Can someone guide me here: I am writing a vbscript file to retrieve properties of mails in mailbox. I want to know what key is used to get the PR_SEARCH_KEY property. I am new. Can someone direct me to newsgroup/forum/documentation more specific to my work? Any help would be highly apreciated. REM REM Set objSession = CreateObject("Outlook.Application") For i = objFolders.Count To 1 Step -1 Set objFolder = objFolders.Item If Trim(UCase(objFolder.Name)) <> "PUBLIC FOLDERS" Then set objRootFolder = objFolder End if Next Set objFoldersColl = objRootFolder.Folders for each oRoot in objFoldersColl For each objMessage in oRoot.Items writelog(objMessage.ENTRYID) REM for getting PR_ENTRYID property of the mail REM REM What do I write here? objMessage.?? REM Next Next REM REM Regards, Lima |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Cannot send email which show some error about "MAPI" | Vista mail | |||
| In Outlook Express, how can I define the "columns" other than the "InBox" setting | Live Mail | |||
| Read "userAccountControl" property to determine if account isdisabled? | PowerShell | |||
| "Property Loss" Message copying images | Vista General | |||
| WM5 Sync with Vista "Windows Calender", "Contacts", and "Mail" | Vista General | |||