How to: Set Up SMTP E-Mail

To send e-mails from Microsoft Dynamics NAV using an SMTP server, you must fill the SMTP Mail Setup window.

E-mail sending is used for several features in Microsoft Dynamics NAV, such as when notifying workflow users about a workflow step. For more information, see Workflow.

E-mails that are sent from Microsoft Dynamics NAV are based on e-mail templates that define which fields and text to show in the e-mail. The e-mail template is an HTML file that you can export, edit in Microsoft Word, for example, and then import. For more information, see How to: Manage Notification Templates.

To set up SMTP e-mail

  1. In the Search box, enter SMTP Mail Setup, and then choose the related link.

  2. Fill the fields as described in the following table.

    Field Description

    SMTP Server

    Specify the name of the SMTP server.

    SMTP Server Port

    Specify the port of the SMTP server. The default port is 25.

    Dn951539.note(en-us,NAV.90).gifNote
    When you set up the port, make sure that incoming and outgoing communications on the port is enabled for all clients and the Microsoft Dynamics NAV Server. Check your firewall settings.

    Authentication

    Specify the type of authentication that the SMTP server uses.

    The default setting is Anonymous, which requires no user ID or password information. On an Azure deployment, use Basic.

    Secure Connection

    Specify if the SMTP server setup requires a encrypted channel that uses a cryptography or security protocol, such as secure socket layers (SSL).

  3. Choose the OK button.

For more information about SMTP e-mail systems, see Configure SMTP E-mail (IIS 7).

See Also

Tasks

How to: Manage Notification Templates
Walkthrough: Setting Up and Using a Purchase Approval Workflow

Concepts

Workflow

Other Resources

SMTP Mail Setup
Configure SMTP E-mail (IIS 7)