View Single Post
  #2  
Old March 30th 08, 06:51 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba,microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Redemption RDO ICS SyncItems SQLRestriction

strSQLRestriction = "MessageClass = 'IPM.Note' "

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Ian-" wrote in message
...
I am using Redemption to get the list of emails in a folder on
Exchange Server. For this i'm using ICS

the synchonizer has the following method
Synchonizer.SyncItems(strPreviousSyncData, strSQLRestriction)

my question regards the sql restriction

I need to get only emails from a particular folder thus where the
MessageClass = 'IPM.Note'

how can i exclude other items and get only emails?

I tried something like MessageClass 'IPM.Note' but it did not work

help would be greatly appreciated

thanks
Ian



Ads