Andere Blogs


EventHandler which sends an Email for new/changed items  

Mar 122008

What do you do if you want to be alerted for changes in a list?

Right. You set an alert. Or you can create a workflow with your SharePoint Designer. But there is a different way. With my "RH.ItemNotifier" Feature, you can configure alerts through the settings of a list.

Configure Users which need to be emailed for new items or changes to existing ones.

So why would you use this solution to create alerts? Well, you don't :-)
I created this as a proof of concept with some functionality which might come handy sometimes:

  • EventReceiver for lists/document libraries
  • Send an Email through the SharePoint OM
  • Deactivate a feature on all webs in your farm
  • Build a custom aspx page in your layouts folder to handle the user configuration

Feel free to look into the code, and take what you need.

Download Download the sourecode here
Download Download the SharePoint solution here

Posted by René Hézser | 4  Comments | Trackback Url  | 0  Links to this post | Bookmark this post with:        
Tags: Development, SharePoint
Technorati Tags: ,

Links to this post


commented on  Saturday, November 07, 2009  12:58 PM  by  david

This is gre8..i want to use it..can you pls let me know that how can i use it

commented on  Wednesday, November 18, 2009  7:50 PM  by  René Hézser
Hi David,
quote: "You set an alert."

You don't need this. It was just a test. You can recycle my code, but if you want to be notified for changes, configure yourself an alert :-)


commented on  Friday, November 20, 2009  5:46 AM  by  david
ok fine. I have done the changes but this is working for immediate alert. How can i send daily summary instead of immediate.

Please reply soon its very very urgent..:-)

commented on  Thursday, December 23, 2010  2:34 PM  by  CommonPoint
where do these email id get stored

Name *:

CAPTCHA Image Validation