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.
Install the SMTP service
- In Control Panel, click Add or Remove Programs.
- In Add or Remove Programs, click Add/Remove Windows Components.
- In the Windows Components Wizard, in the Components box, click Application Server, and then click the Details button.
- In the Application Server dialog box, in the Subcomponents of Application Server box, click Internet Information Services (IIS), and then click the Details button.
- In the Internet Information Services (IIS) dialog box, select the SMTP Service check box.
- Click OK to return to the Application Server dialog box.
- Click OK to return to the main page of the Windows Components Wizard.
- Click Next.
- 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.
Important: |
---|
Membership in the Administrators group on the local computer is required to complete this procedure.
|
Configure the SMTP service
- Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
- In IIS Manager, expand the server name that contains the SMTP server that you want to configure.
- Right-click the SMTP virtual server that you want to configure, and then click Properties.
- On the Access tab, under Access control, click Authentication.
- In the Authentication dialog box, under Select acceptable authentication methods for this resource, verify that Anonymous access is selected.
- Click OK.
- On the Access tab, under Relay restrictions, click Relay.
- To enable relaying from any server, under Select which computer may relay through this virtual server, select All except the list below.
- To accept relaying from one or more specific servers, follow these steps:
- Under Select which computer may relay through this virtual server, select Only the list below.
- Click Add, and then add servers one at a time by IP address, or in groups by using a subnet or domain.
- Click OK to close the Computer dialog box.
- Click OK to close the Relay Restrictions dialog box.
- Click OK to close the Properties dialog box.
Configure outgoing e-mail settings
Important: |
---|
Membership in the Farm Administrators group of the Central Administration site is required to complete this procedure.
|
Configure outgoing e-mail settings
- On the top navigation bar of the SharePoint Central Administration Web site, click Operations.
- On the Operations page, in the Topology and Services section, click Outgoing e-mail settings.
- 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 serverbox.
- In the From address box, type the e-mail friendly address as you want it to appear to e-mail recipients.
- In the Reply-to address box, type the e-mail address to which you want e-mail recipients to reply.
- In the Character set menu, select the character set that is appropriate for your language.
- Click OK.For information about how to perform this procedure using the Stsadm command-line tool, see Email: Stsadm operation (Office SharePoint Server).