Export (0) Print
Expand All

Configure outgoing e-mail (SharePoint Foundation 2010)

 

Applies to: SharePoint Foundation 2010

Topic Last Modified: 2011-09-19

This article describes how to configure outgoing e-mail for a farm or for a specific Web application for Microsoft SharePoint Foundation 2010. This article also describes how to install and configure the SMTP service that you must use to enable outgoing e-mail.

In this article:

After you have installed SharePoint Foundation 2010 and performed the initial configuration of your server farm, you can configure outgoing e-mail. Doing so enables users to create alerts to track such site items as lists, libraries, and documents. In addition, site administrators can receive administrative messages about site administrator issues, such as the information that site owners have exceeded their specified storage space. For more information, see Plan outgoing e-mail (SharePoint Foundation 2010).

If you want to configure outgoing e-mail for a specific Web application, you must first configure the default outgoing e-mail for all Web applications in the farm. If you configure the outgoing e-mail for a specific Web application, that configuration will override the default configuration for all Web applications in the farm.

noteNote
You cannot configure outgoing e-mail by using Windows PowerShell.

Before you perform these procedures, confirm that:

  • Your system is running SharePoint Foundation 2010.

  • One or more servers in the server farm are running the Simple Mail Transfer Protocol (SMTP) service and have a valid SMTP server address. Alternatively, you must know the name of a server outside the farm that is running the SMTP service.

If you have not installed and configured the SMTP service, you must perform the following procedures before you configure outgoing e-mail:

  • Install and configure the SMTP service.

Before you can enable outgoing e-mail, you must determine which SMTP server to use. This SMTP server must be configured to allow anonymous SMTP e-mail submissions. The SMTP server can be a server in the farm or outside the farm.

noteNote
If your organization does not allow anonymous SMTP e-mail messages to be sent by using Microsoft Exchange Server, you can use a local SMTP server in the SharePoint farm that accepts anonymous e-mail messages. The local SMTP server automatically authenticates the messages and then forwards them to the Exchange Server computer.

To install the SMTP service, use the Add Features Wizard in Server Manager. After the wizard finishes, a default SMTP configuration has been created. You can customize this default SMTP configuration to meet the requirements of your organization.

noteNote
If you already have the SMTP service installed on a server, you can skip the following procedure.
To install the SMTP service
  1. Verify that you have the following administrative credentials: You must be a member of the Administrators group on the local computer

  2. Click Start, point to Administrative Tools, and then click Server Manager.

  3. In Server Manager, click Features.

  4. In Features Summary, click Add Features to open the Add Features Wizard.

  5. On the Select Features page, select SMTP Server.

  6. In the Add Features Wizard dialog box, click Add Required Features, and then click Next.

  7. On the Confirm Installation Selections page, click Install.

  8. On the Installation Results page, ensure that the installation is complete, and then click Close.

After you install the SMTP service, you must configure the service to accept e-mail messages from servers in the farm.

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

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

noteNote
To manage the SMTP service on Windows Server 2008, you must use Internet Information Services (IIS) 6.0 Manager. Ensure that you install IIS 6.0 Management tools in Server Manager.
To install IIS 6.0 Management tools
  1. Verify that you have the following administrative credentials: You must be a member of the Administrators group on the local computer.

  2. Click Start, point to Administrative Tools, and then click Server Manager.

  3. In Server Manager, click Roles.

  4. In the Role Services section, click Add Role Services.

  5. On the Select Role Services page, select Management Tools and IIS 6 Management compatibility, and then click Install.

To configure the SMTP service
  1. Verify that you have the following administrative credentials: You must be a member of the Administrators group on the local computer.

  2. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) 6.0 Manager.

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

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

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

  6. On the Access tab, in the Access control area, click Authentication.

  7. In the Authentication dialog box, verify that Anonymous access is selected.

  8. Click OK.

  9. On the Access tab, in the Relay restrictions area, click Relay.

  10. To enable relayed e-mail messages from any server, click All except the list below.

  11. To accept relayed e-mail messages from one or more specific servers, follow these steps:

    1. Click 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.

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

  13. Click OK to close the Properties dialog box.

noteNote
Ensure that the SMTP service is running and set to start automatically. To do this, use the following procedure.
To set the SMTP service to start automatically
  1. Click Start, point to Administrative Tools, and then click Services.

  2. In Services, right-click Simple Mail Transfer Protocol (SMTP), and then select Properties.

  3. In the Simple Mail Transfer Protocol (SMTP) Properties dialog box, on the General tab, in the Startup type list, select Automatic.

  4. Click OK.

You can configure outgoing e-mail for a farm by using the SharePoint Central Administration Web site or by using the Stsadm command-line tool. Use the following procedures to configure outgoing e-mail. After you complete the procedures, end users can track changes and updates to individual site collections. In addition, site administrators can, for example, receive notices when users request access to a site.

To configure outgoing e-mail for a farm by using Central Administration
  1. Verify that you have the following administrative credentials: You must be a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration Web site.

  2. In Central Administration, click System Settings.

  3. On the System Settings page, in the E-Mail and Text Messages (SMS) section, click Configure outgoing e-mail settings.

  4. 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.

  5. In the From address box, type the e-mail address as you want it to be displayed to e-mail recipients.

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

  7. In the Character set list, select the character set that is appropriate for your language.

  8. Click OK.

To configure outgoing e-mail for a farm by using the Stsadm command-line tool
  1. Verify that you have the following administrative credentials: You must be a member of the Administrators group on the local computer.

  2. On the drive on which SharePoint Products and Technologies is installed, change to the following directory: %COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\14\Bin.

  3. Type the following command, and then press ENTER:

    stsadm -o email

    -outsmtpserver <SMTP server name>

    -fromaddress <valid e-mail address>

    -replytoaddress <valid e-mail address>

    -codepage <valid code page>

Example

stsadm -o email -outsmtpserver mail.example.com -fromaddress someone@example.com -replytoaddress someone@example.com -codepage 65001

For more information, see Email: Stsadm operation (Windows SharePoint Services) (http://go.microsoft.com/fwlink/p/?LinkId=150046).

You can configure outgoing e-mail for a specific Web application by using the Central Administration Web site or by using the Stsadm command-line tool. Use the following procedures to configure outgoing e-mail. After you complete the procedures, end users can track changes and updates to individual site collections. In addition, site administrators can, for example, receive notices when users request access to a site.

noteNote
If you want to configure outgoing e-mail for a specific Web application, you must first configure the default outgoing e-mail for all Web applications in the farm. If you configure the outgoing e-mail for a specific Web application, that configuration will override the default configuration for all Web applications in the farm.
To configure outgoing e-mail for a specific Web application by using Central Administration
  1. Verify that you have the following administrative credentials: You must be a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration Web site.

  2. In Central Administration, in the Application Management section, click Manage web applications.

  3. On the Web Applications Management page, select a Web application, and then in the General Settings group on the Ribbon, click Outgoing E-mail.

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

  5. In the From address box, type the e-mail address (for example, the site administrator alias) as you want it to be displayed to e-mail recipients.

  6. In the Reply-to address box, type the e-mail address (for example, a help desk alias) to which you want e-mail recipients to reply.

  7. In the Character set list, click the character set that is appropriate for your language.

  8. Click OK.

To configure outgoing e-mail for a specific Web application by using the Stsadm command-line tool
  1. Verify that you have the following administrative credentials: You must be a member of the Administrators group on the local computer.

  2. On the drive on which SharePoint Products and Technologies is installed, change to the following directory: %COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\14\Bin.

  3. Type the following command, and then press ENTER:

    stsadm -o email

    -outsmtpserver <SMTP server name>

    -fromaddress <valid e-mail address>

    -replytoaddress <valid e-mail address>

    -codepage <valid code page>

    [-url <URL name>]

Example

stsadm -o email -outsmtpserver mail.example.com -fromaddress someone@example.com -replytoaddress someone@example.com -codepage 65001 -url http://server_name

For more information, see Email: Stsadm operation (Windows SharePoint Services) (http://go.microsoft.com/fwlink/p/?LinkId=150046).

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft