Posts

Showing posts from January, 2008

No SPContext for Event Receiver

I have some common methods that use SPContext. I am having problem when I call those methods in my event receiver code. I don't think there is a way to use SPContext in event receiver. To get it working, I have to create an overload method that takes addiational parameters such as SPWeb or SPSite depending on what is needed.

SharePoint Tools and Training

SharePoint Tools: Microsoft Best Practices Analyzer for Windows SharePoint Services 3.0 and the 2007 Microsoft Office System - It's a tool that analyze your sharepoint environment against the best practices. This tool is released by Microsoft. Here is a blog that explains how to run this analyzer tool. SharePoint Training: Office SharePoint Designer 2007 Training Standalone Edition

Send email using MOSS STMP Server

Microsoft.SharePoint.Utilities.SPUtility class provides methods for sending email, SendEmail(). Out-going mail server will have to be configured before it'll work properly.