Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Developer Outlook Addins > Best practice t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 1634 of 1746
Post > Topic >>

Best practice to watch folders for new items?

by "Iliyan Georgiev" <iliyan@[EMAIL PROTECTED] > Dec 9, 2007 at 05:22 PM

Hi,

I want to watch folders for new items with 2 ultimate goals:

1) New mail notifications for new mail coming to *all* folders (not just
the 
Inbox)
2) Custom display of RSS items

The first task of my add-in will be to notify me using a tray icon for new

mail coming to all folders. Is there any event which is fired up every
time 
new mail came (regardless of the folder)? If not, should I just iterate
over 
all (eventually user-specified) folders and hook to their events or there
is 
a better way of doing this?

The second task of my add-in will be to enable Outlook displaying the 
article web pages in the preview pane directly. Since there is no way of 
making a full Form region replacement for built-in message (in my case 
IPM.Post.Rss), I was thinking of changing the message class of every RSS 
item (say IPM.Post.Rss.WebView) and design a Form region that would handle

this class of items. The simplest way was to do this in the 
Application.ItemLoad event, but Outlook wouldn't let me change the message

class of the item in the event handler (an exception occurs). So I thought
I 
could change the message class as soon as the item arrives in the store. 
Again, what's the best way to do that? Or is there a better way to achieve

the ultimate goal?

Thank you very much in advance!

Best,
Iliyan Georgiev
 




 4 Posts in Topic:
Best practice to watch folders for new items?
"Iliyan Georgiev&quo  2007-12-09 17:22:25 
Re: Best practice to watch folders for new items?
"Ken Slovak - [MVP -  2007-12-10 09:03:37 
Re: Best practice to watch folders for new items?
"Iliyan Georgiev&quo  2007-12-10 21:57:54 
Re: Best practice to watch folders for new items?
"Ken Slovak - [MVP -  2007-12-10 16:26:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 16:01:19 CST 2008.