Friday 25 January 2013

Configure Email setting without Exchange(With Gmail settings) in SharePoint 2010

Step 1: Install SMTP Feature
Open server Manager and Right click on feature and Press Add Feature.

Select SMTP Server Feature from List and Press Next button.

It will ask to add extra components press yes to install and below screen will appears.

After installation you will got success message as below

Verify the Service from services (it must be started)

Open IIS 6.0 to configure SMTP Settings.

Right Click on SMTP virtual server and click on Properties

Open Access Tab and Press Relay Button and mark to “All except the list below”

Press OK and then Select Authentication and check the Anonymous Access

Now Select the Delivery Tab   -> OutBound Security  -> select the Basic Authentication and also provide user name and password for sender and check the TLS encryption.

Press Ok and Select OutBound Connection and Change the TCP Port to 587. 

Press Ok and Click at Advance Button for Smart host settings. I used Gmail Setting to send email.

Step 2: Email Setting in SharePoint

We have everything for our SMTP server. Now Open the SharePoint 2010 central Administration to configure Email setting.
Central Adminstration  -> System settings ->

Click at  “Configure Outgoing e-mail settings” and Server name as your local system Name. And enter “From address “  -> then  Ok.

Step 3: How to Test the Email setting.
Open any Local site -> then any List -> click at List Tab and Click at Alert Me.

Make sure in Sent Alert to Box users contain Proper Email address.

Enable Custom Master Page on Project server 2010

Project server 2010 is based on SharePoint 2010, But it does not allow you to change master page in default, You will got error for assembly is not register as Safe Control. What you have to do to apply custom master page is.

Step 1 :
Open Web.config as Administrator and Find  </SafeControl>. Add Following assembly references before this tag

<SafeControl Assembly="Microsoft.Office.Project.Server.PWA, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.Office.Project.PWA" TypeName="*" Safe="True" />

<SafeControl Assembly="Microsoft.Office.Project.Server.PWA, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.Office.Project.PWA.CommonControls" TypeName="*" Safe="True" /><SafeControl Assembly="Microsoft.Office.Project.Server.PWA.ApplicationPages, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.Office.Project.PWA.ApplicationPages" TypeName="*" Safe="True"/>

Step 2:
Find  “SafeMode”  in Web.config and Replace with below tags
<SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">
 <PageParserPath VirtualPath="/PWA/*" CompilationMode="Always" AllowServerSideScript="true" />

Now you can easily enjoy custom master page for Project server 2010,
To make more easy, just enable the publishing feature at site, and you can change master page from site settings