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
Dmitry Streblechenko - 30 Mar 2008 18:51 GMT
strSQLRestriction = "MessageClass = 'IPM.Note' "
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
>I am using Redemption to get the list of emails in a folder on
> Exchange Server. For this i'm using ICS
[quoted text clipped - 15 lines]
> thanks
> Ian