Archive for February, 2009

MOSS: Outbound SMTP server settings

We installed MOSS 2007 on a client machine but unable to set up outbound SMTP server settings in central administration. We tried following URLS:

http://technet.microsoft.com/en-us/library/cc262844.aspx

http://technet.microsoft.com/en-us/library/cc262821.aspx

http://msexchangeteam.com/archive/2006/12/28/432013.aspx

Enable relay but things were not working. Error generated when we send email to a new user. Then came final change. Disable Anti Virus installed on the server and here we goJ.

Advertisements

Comments (2)

MOSS 2007: Configure My Inbox WebPart for Multiple Users

In order to configure My Inbox for multiple users, don’t hard code email address in “Mail Box” property of the webpart. Just enter question mark (?) in “Mail Box” property of My Inbox webpart (“Modify Shared Web Part” – > Mail Box).

J

Comments (5)

MOSS 2007: Changing landing page (default.aspx)

We need to change the landing page of site from default.aspx to one of our customized page. We used the following code:

 

static void Main(string[] args)

        {

            SPSite oSiteCollection = null;

            SPWeb oWibSite = null;

            SPFolder oFolder = null;

 

            try

            {

                oSiteCollection = new SPSite(http://site URL”);

                oWibSite = oSiteCollection.OpenWeb();

                oFolder = oWibSite.RootFolder;

                oFolder.WelcomePage = “document library/page name”;

                oFolder.Update();                         

            }

            catch (Exception e)

            {

                Console.WriteLine(e.Message);

                Console.WriteLine(e.StackTrace);

            }

            finally

            {

                oWibSite.Dispose();

                oSiteCollection.Dispose();

            }           

        }

 

Source: MSDN – forgot URL L

Leave a Comment