Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / March 2008

Tip: Looking for answers? Try searching our database.

Redemption RDO ICS SyncItems SQLRestriction

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ian- - 29 Mar 2008 13:52 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.