Microsoft

Blog Categories

Subscribe to RSS feed

Archives

Follow our Microsoft Technologies board on Pinterest

Email Configuration within a SharePoint 2010 Development Environment

There have been countless blogs written on this topic, yet I always seem to be spending way too much time configuring Incoming and Outgoing mail in my SharePoint 2010 development environment.I often find myself wishing the author included a few screen shots of their configuration settings so I could better compare them to my own.The purpose of this article is to create one easy to follow, holistic view of setting up Incoming/Outgoing mail.The goals I wanted to achieve are as follows:
  1. From within my local development machine, send an email from amail client such as Outlook or Windows Mail to an ‘Incoming Email’ enabled list in a SharePoint 2010 site.
  1. Programmatically or through SharePoint ‘Alerts’ have emails sent from SharePoint to my inbox on a local mail client.

Environment

 

Host Name: WIN-SHAREPOINT

User Name: Administrator

Virtualization Software: VMware

Operating System: Windows Server 2008 R2

SharePoint Version: SharePoint 2010

Services used: SMTP and third-party POP3 by Visendo (free version).

Tasks

  1. Setup SMTP
  1. Install Visendo and follow install and configuration instructions.
    1. Update Visendo.
  1. Configure Visendo.
  2. Download Windows Live Mail or Outlook and configure.
  3. Configure Incoming/Outgoing email in SharePoint 2010.

First, make sure the SMTP service is installed and running on your machine.Next, open Internet Information Services 6.0 Manager.You’ll notice my Domain Name is simply that of the host name of my machine. Icreated an alias called “WIN-SHAREPOINT.LOCALHOST”.

Right click on [SMTP Virtual Serve #1]and select Properties.I have mine configured so that IP address has (All Unassigned) selected

 

Go to the ‘Access’ tab and select ‘Relay’.

Select ‘All except the list below’ and click OK.

Since Windows Server 2008 does not include a POP service, you’ll have to download one from a third-party vendor.Visendo provides a great POP3 service that is not only easy to configure, but is also free.

Install POP3 service from Visendo.www.Visendo.com

Follow the installation/configuration steps outlined in there PDF.

http://www.visendo.com/documents/mail/SMTP_best_practices.pdf

 

Make sure in install the updates before you begin.Below is how I have mine set up.

The email address I used was, Administrator@win-sharepoint.localhost.

Please note: Over time you are most likely to change locations or get assigned a new IP address.When this happens you must update your IP address in the following locations:

  1. Mail Client
  1. Visendo configuration file
  1. Visendo GUI

 

 

 

 

At this point double check that all necessary services have been started.

Outlook/Windows Mail configuration

For either Outlook or Windows Mail, upon the initial setup process, you will want to select ‘Manually configure mail Server’ and use POP3.

You might get prompted for login credentials.

Set up for Windows Mail

Go to ‘Accounts’ tab –> properties

Please Note: Windows Mail worked while using the actual name of the server whereas Outlook required the actual IP address.

Make sure when you’re prompted for your log in credentials you enter in the account name and password that is in Visendo POP3 Server. If you don’t, you may receive an error message.The log files located in the Visendo directory will provide some useful information if additional trouble-shooting is required.

SHAREPOINT 2010 INCOMING/OUTGOING MAIL CONFIGURATION

Configure Incoming mail.

Enable a list to receive email.

Enable your list to receive incoming email.

If you’re not using an Active Directory and would like to add/modify user email accounts, you can easily do this in code via a small console app.

Useful blogs that will fill in any gaps.

http://technet.microsoft.com/en-us/sharepoint/ff679958.aspx

http://jebass.blogspot.com/2009/02/making-pop3-smtp-server-work-with.html

Tags:

Leave a Reply