Monday, March 2, 2009

Auto Generated email for Sharepoint Workflow -C#.net

Method used for sending email is in “Microsoft।SharePoint।Utilities” This helps you to send email through sharepoint web application, custom workflow using C#.net

The SPUtility.SendEmail method enables you to send an email from the context of a SharePoint Web (SPWeb) object. The SMTP settings associated with the SPWeb object are used to send the email. The method returns a boolean value that represents whether the email was sent successfully.

SPUtility.SendEmail Method (Microsoft.SharePoint.Utilities)
SPUtility.SendEmail (SPWeb, Boolean, Boolean, String, String, String)
example:

try
{
SPWeb thisWeb = SPControl.GetContextWeb(Context);
string toField = "mailaddress@microsoft.com";
string subject = "Test Message";
string body = "Message sent from SharePoint";
bool success = SPUtility.SendEmail(thisWeb,true, true, toField, subject, body);
}
catch (Exception ex)
{
// handle exception
}

Sunday, January 25, 2009

MOSS architecture
















Figure: MOSS architecture (http://blogs.msdn.com/martinkearn/archive/2006/06/06/MOSS-Architecture-_2600_-Shared-Services.aspx)

MOSS services

  • Search
  • Index
  • Audience compilation
  • User profiles database
  • My Sites
  • Business Data Catalogue
  • Excel Services

Collaboration Portal:


It is called ‘Collaboration Portal', not ‘portal’ and it is just another type of site collection that is hosted on an IIS site (called web applications in MOSS). Portals no longer contain any application services such as search, my site. All these services now have to come from an SSP. This means that all you need to host a portal is a web server and a place to put the content database.


Monday, November 24, 2008

Uses of Sharepoint....

  • A public Internet site
  • An intranet portal for the organization and each department
  • An extranet portal for your customers and partners
  • A team site for your sales department
  • A project site for the development team
  • A document management system that is compliant with Sarbanes-Oxley (SOX)
  • A personal site for each user where they can store personal data and create links to their team sites
  • A digital dashboard for storing business intelligence data such as key performance indicators
  • A place to search and locate any type of information, regardless of where it is stored
  • A record management system for storing legal information in a secure way

Friday, February 22, 2008

Outgoin Email Settings

  1. open sharepoint central admin site
  2. go to operation tab
  3. lick "outgoing e-mail settings" link under topology and services topic.
  4. fill text box for smtp server.
  5. fill from address it will appear in task notification emails.