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 / December 2003

Tip: Looking for answers? Try searching our database.

Outlook add-ins to search for mails satisfying some criteria

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anushya - 21 Dec 2003 11:28 GMT
Hi All

I need a add-ins in to search for all the items in the
inbox|outbox|deleted|or wotever  folders of outlook matching some
criteria. Almost like outlook advanced search. Now trying this add-ins
using C#.net. s/w is not a issue.

Wot r all the ways i can do it?
1) using Advanced search of outlook itself by passing parameters to
it? is it possible? does the object model allow access to Advanced
search?

2)use something like a macro? can it be done? Or any other way?
passing values and getting results is it possible?

3)If i use restrict or find on each folder, can i search for the
content in the body too? Or it can be done only for standard headers
like subject, from, CC. Will there be a performance hit? if body can
be done pls gimme some idea..

4)Is it possible to access the outlook pst file straight and search
for using sth? I think it may not be possible. but is there any way?

Waiting for ur suggestions....Its urgentttttt..
pls let me know the links also..
Pls let me know immediately.
Anushya
Ken Slovak - [MVP - Outlook] - 22 Dec 2003 14:27 GMT
You cannot use Body in a restriction or filter. You can use
Application.AdvancedSearch if you are using Outlook 2002 or later. The
syntax for AdvancedSearch is a DASL syntax. See the Object Browser for
examples of using that and the properties you need to work with.

If you set up a search in the UI using Advanced Find and go to the
Query Builder tab you will see the DASL syntax you will need to use.
To show the Query Builder tab add a registry key
HKCU\Software\Microsoft\Office\10.0\Outlook\QueryBuilder. Use 11.0 if
you are using Outlook 2003. The key just has to exist for the Query
Builder tab to be shown.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hi All
>
[quoted text clipped - 23 lines]
> Pls let me know immediately.
> Anushya
tricare - 29 Dec 2003 19:21 GMT
If you are interesting in obtaining software, Scopeware Vision allows you to automatically index all major files on the computer including outllok files.  http://www.knowyourstuff.com
 
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.