Configure outgoing e-mail settings (Office SharePoint Server)

Updated: 2009-03-26

In this article:

Use this procedure to configure the default outgoing e-mail settings for all Web applications. You can override the default outgoing e-mail settings for specific Web applications by using the procedure that is described in Configure outgoing e-mail settings for a specific Web application (Office SharePoint Server).

Install and configure the SMTP service

Before you can enable outgoing e-mail, you must install the Internet Information Services (IIS) Simple Mail Transfer Protocol (SMTP) service. After determining which SMTP server to use, the SMTP server must be configured to allow anonymous access and to allow e-mail messages to be relayed. Additionally, the SMTP server must have Internet access if you want the ability to send messages to external e-mail addresses, or it must be able to relay authenticated e-mail to a server that has Internet access. The SMTP server that you use can be a server in the farm, or another server.

Install the SMTP service

The SMTP service is a component of IIS.

ImportantImportant:

Membership in the Administrators group on the local computer is required to complete this procedure.

Install the SMTP service

  1. In Control Panel, click Add or Remove Programs.

  2. In Add or Remove Programs, click Add/Remove Windows Components.

  3. In the Windows Components Wizard, in the Components box, click Application Server, and then click the Details button.

  4. In the Application Server dialog box, in the Subcomponents of Application Server box, click Internet Information Services (IIS), and then click the Details button.

  5. In the Internet Information Services (IIS) dialog box, select the SMTP Service check box.

  6. Click OK to return to the Application Server dialog box.

  7. Click OK to return to the main page of the Windows Components Wizard.

  8. Click Next.

  9. When Windows has finished installing the SMTP service, on the Completing the Windows Components Wizard page, click Finish.

Configure the SMTP service

After installing the SMTP service, configure the service to accept relayed e-mail from servers in your farm.

You can decide to accept relayed e-mail from all servers except those you specifically exclude. Alternatively, you can block e-mail from all servers except those you specifically include. You can include servers individually, or in groups by subnet or domain.

By enabling both anonymous access and e-mail relaying, you increase the possibility that the SMTP server will be used to relay unsolicited commercial e-mail (spam). It is important to limit this possibility by carefully configuring your mail servers to help protect against spam. One way that you can do this is by limiting relaying to a specific list of servers or domain, and preventing relaying from all other servers.

ImportantImportant:

Membership in the Administrators group on the local computer is required to complete this procedure.

Configure the SMTP service

  1. Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. In IIS Manager, expand the server name that contains the SMTP server that you want to configure.

  3. Right-click the SMTP virtual server that you want to configure, and then click Properties.

  4. On the Access tab, under Access control, click Authentication.

  5. In the Authentication dialog box, under Select acceptable authentication methods for this resource, verify that Anonymous access is selected.

  6. Click OK.

  7. On the Access tab, under Relay restrictions, click Relay.

  8. To enable relaying from any server, under Select which computer may relay through this virtual server, select All except the list below.

  9. To accept relaying from one or more specific servers, follow these steps:

    1. Under Select which computer may relay through this virtual server, select Only the list below.

    2. Click Add, and then add servers one at a time by IP address, or in groups by using a subnet or domain.

    3. Click OK to close the Computer dialog box.

  10. Click OK to close the Relay Restrictions dialog box.

  11. Click OK to close the Properties dialog box.

Configure outgoing e-mail settings

ImportantImportant:

Membership in the Farm Administrators group of the Central Administration site is required to complete this procedure.

Configure outgoing e-mail settings

  1. On the top navigation bar of the SharePoint Central Administration Web site, click Operations.

  2. On the Operations page, in the Topology and Services section, click Outgoing e-mail settings.

  3. On the Outgoing E-Mail Settings page, in the Mail Settings section, type the SMTP server name for outgoing e-mail (for example, mail.example.com) in the Outbound SMTP server box.

  4. In the From address box, type the e-mail friendly address as you want it to appear to e-mail recipients.

  5. In the Reply-to address box, type the e-mail address to which you want e-mail recipients to reply.

  6. In the Character set menu, select the character set that is appropriate for your language.

  7. Click OK.

    For information about how to perform this procedure using the Stsadm command-line tool, see Email: Stsadm operation (Office SharePoint Server).

Download this book

This topic is included in the following downloadable book for easier reading and printing:

See the full list of available books at Downloadable books for Office SharePoint Server 2007.

See Also

Tags :


Community Content

Rifaqat Ali
Incoming Email Configuration - MOSS

Components:

• WSS 3.0 / MOSS Server
• SPTimer service
• SMTP Relay
• Active Directory management service
• User account which has rights in AD (Delegate control for a specific OU)
About Incoming E-mail:

• Feature of MOSS that enables SharePoint sites to receive and store e-mail messages and attachments in lists and libraries.
• Users can upload documents to SharePoint document library.
• Each list and library will have unique email address.
Simple Scenario:
Easy to configure, very less resources required.
You cannot use your existing corporate email client to send emails to Sharepoint lists.
Users have to remember all the email address for Sharepoint list items or it has to stored in local contacts list, there is no central location where you can store like Active Directory or GAL.

Windows 2003 server
Internet Information Services 6.0
SMTP service
.Net Framework 3.0
WSS 3.0 / MOSS server

SMTP Configuration:
Server Configuration:



Though you have exchange server in organization we have to install SMTP service on one of the web front end server in Sharepoint farm. Make sure SMTP component is installed on one of your Sharepoint server, Sharepoint timer service will pick email/attachments from known local SMTP service only.
When you install SMTP service on your local Sharepoint server, it will create a domain under SMTP Virtual server.
Need not to configure anything manually, but few things needs to be checked before proceeding further.
Open IIS manager -> Default SMTP virtual Server -> Domains -> MOSSserver.domain.com -> Properties
Check the drop directory location, default location would be "C:\inetpub\mailroot\Drop" where all the emails will be stored till Sharepoint timer service pick it up. Sharepoint timer service will check this folder every 5 minutes (default).
Check the security level for the the folder "C:\inetpub\mailroot\Drop"
Make sure the 'WSS_ADMIN_WPG' local group has full control on this folder.


Client Configuration:
Client computers can be any windows operating system with email clients, either MS Outlook or Outlook Express to send email to SharePoint list.
Launch Outlook Express -> Create new email account
Display name: MOSS Administrator
email address: mossadmin@MOSSserver.domain.com
Incoming Email Server type: POP3
Incoming Email server: MOSSserver
Outgoing Email server: MOSSserver
Username: mossadmin
Password: xxxxxx




Note: You might get POP3 server connection failure, we can ignore this because we have configured only SMTP server not the POP3 service on Sharepoint server. For incoming E-mail configuration SMTP server configuration is enough.
Test:
Open outlook express and send an email to <DocLibrary>@SELVAWEB.SELDOM.com with attachment.
Check the folder "C:\inetpub\mailroot\Drop" and make sure the email dropped here in the format of *.eml file.




SHAREPOINT Configuration:
Global Settings from Admin:
Browse to Central Administration site -> Operations -> Incoming Email Settings (http://server:2345/_admin/IncomingEmail.aspx)

Enable incoming E-mail: Yes
Setting mode: Automatic
Directory management Service: No
Incoming E-mail server display address: MOSSserver.domain.com
Safe E-mail servers: Accept mail from all e-mail server


Settings for Individual List items:
Browse to SharePoint site and create a document library.
Document library settings -> Incoming email settings
Allow this document library to receive e-mail? - Yes
E-mail address: <DocLibrary>@SELVAWEB.SELDOM.com
E-Mail Attachments: Save all attachments in root folder
Overwrite files with the same name? - Yes
Save original e-mail? - Yes
Save meeting invitations? - Yes
E-mail Security policy: Accept E-mail from any sender

Sending E-mail to a Sharepoint document library:
1. Sending email


2. Email dropped in SMTP drop folder


3. Email picked by Sharepoint timer service and uploaded to a specific document library.




Advanced Scenario:
Easy to configure, When we create Sharepoint list item it will create new contact entry in Active Directory as per configuration in Sharepoint Admin. All the Sharepoint list address will be stored in Active directory as a contact object, where users can access from any client in a Domain. We can use our existing corporate email client.
Windows 2003 server
Internet Information Services 6.0
SMTP service
.Net Framework 3.0
WSS 3.0 / MOSS server
Active Directory
Setting up Active Directory OU:
Create new Organizational Unit in Active Directory and grant permission for Sharepoint service account using delegate control option.
In this scenario we have created new OU named SPS
Central Admin configuration:
Global Settings from Admin:
Browse to Central Administration site -> Operations -> Incoming Email Settings (http://server:2345/_admin/IncomingEmail.aspx)


Settings for list item:
Create a document library and configure Incoming E-mail settings as mentioned above.
Check the OU in Active Directory, you will find a contact item created. We can manage all the contact item thru Active Directory.

Tags :

Thomas Lee
Mmmm

How come i've done all steps in this article, which all seem fairly simple, and yet i can't get SharePoint email alerts to work?! This is frustrating to say the least...

  
[tfl - 21 12 08] You should post questions like this to the Technet Forums at http://forums.microsoft.com/technet or the MS Newsgroups at
  http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quick response using the forums than through the Community Content.
For specific help about:
Exchange : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.exchange%2C&
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
Windows : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.windows%2C&
Windows Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.windows.server%2C&
Virtual Server : http://groups.google.com/group/microsoft.public.virtualserver/topics?lnk
Full Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&

Page view tracker