SMTP E-mail

 

Applies To: Windows Server 2012 R2, Windows Server 2012

Use the SMTP E-mail feature page to configure delivery of e-mail from applications that use the System.Net.Mail API. You can configure the sender e-mail address on outgoing e-mail, and decide to either deliver e-mail immediately to an online SMTP server or store e-mail on disk where it can be retrieved for later delivery.

Related scenarios

In this document

UI Elements for SMTP E-mail

The following tables describe the UI elements that are available on the feature page and in the Actions pane.

Feature Page Elements

Element Name

Description

E-mail address

Sets the e-mail address from which e-mail messages are sent.

Deliver e-mail to SMTP server

Configures System.Net.Mail to deliver e-mail messages immediately to an SMTP server.

SMTP Server

Defines the unique name of the SMTP server.

Use localhost

Sets the name of the SMTP server to LocalHost. Setting the name to LocalHost means that System.Net.Mail sends e-mail to the SMTP server on the local computer.

Port

Sets the TCP port that System.Net.Mail uses in trying to connect to the target SMTP server. Port 25 is the SMTP standard TCP port and is the default setting and the recommended setting.

Authentication Settings

Specifies the authentication mode and credentials if your SMTP server requires these.

Not required

Requires no user name or password from the user in order to connect to the SMTP server.

Windows

Uses the application identity. Use this option if you are setting up a smart host to relay messages in your network or if you are setting up a server to receive e-mail from internal sites, such as a company intranet.

Specify credentials

Requires a valid user name and password. Credentials are sent as clear text across the network. To specify credentials, click Set. Enter the valid user name in the User name text box and the valid password in the Password text box. Re-enter the password in the Confirm Password text box and then click OK.

Store e-mail in pickup directory

Configures System.Net.Mail to store e-mail messages in a file location on disk for later delivery by an application such as an ASP.NET application, or by a user, such as an administrator.

Actions Pane Elements

Element Name

Description

Apply

Saves the changes that you have made on the feature page.

Cancel

Cancels the changes that you have made on the feature page.

Set Credentials Dialog Box

Use the Set Credentials dialog box to configure IIS to use a Simple Mail Transfer Protocol (SMTP) server user name and password.

Element Name

Description

User name

Type the name of the account that you want IIS to use to access your SMTP server.

Password

Type the password associated with your SMTP server.

Confirm password

Retype the password associated with your SMTP server.