I want to have a daily email notification with number of items added and deleted in a document library which is there in all subsites. How could i do this. Very urgent please some one help me ..
One of the options to go with is timer job. Which runs on daily basis.
You can include following logic in code:
- Traverse all sub sites and all the lists.
- Get the items which are created in last 24 hours and get count of that.
- Prepare email body content with list name and respective list items.
- Send email.
Have you considered using Search Alerts? https://technet.microsoft.com/en-us/library/ff718244.aspx
All you need is a correct search query and two alerts - one for new items and one for deleted items.