Adding ItemEvent to Document list in sharepoint
I need to send mail to a set of recipients when a item/document is added to 'Document'. Can any one show me the pointers.
Also is it possible to access a folder under Document.
thanks,
Sree
April 27th, 2010 11:08am
Add an alert to the folder or the document library, as site collection admin you can do that for other people, too.
Or if you want to have a custom mail text, write an event-receiver for the ItemAdding-Event, attach it to the doucment library and within the receiver use the SPUtility.SendEMail-method for creating your custom e-mail, see
http://msdn.microsoft.com/en-us/library/ms460489.aspx
http://www.wrox.com/WileyCDA/Section/Programming-Event-Handling-in-Windows-SharePoint-Services.id-306329.html
Free Windows Admin Tool Kit Click here and download it now
April 27th, 2010 11:23am
Thanks Markus.
I'll make use of it :)
April 28th, 2010 6:21am