---
sidebar_position: 1
sidebar_label: 'email settings'
---

# Email Settings
NPIS-IAM sends emails to users to verify their email address, when they forget their passwords, or when an admin needs to receive notifications about a server event. To enable NPIS_IAM to send emails the admin needs to configure SMTP server settings. This is configured per realm. 

## Video Tutorial
import videojs from 'video.js';

<video id="my-video" class="vjs-fill vjs-default-skin" controls preload="auto" width="100%" height="100%" poster="/img/user-guide/email-settings.png" >
    <source src="/videos/user-guide/admin/admin-login.webm" type="video/webm"/>
</video>

## Reference instructions
Please follow the instructions below:

### Email Tab

As emails are used for recovering usernames and passwords it’s recommended to use SSL or TLS, especially if the SMTP server is on an external network. To enable SSL click on Enable SSL or to enable TLS click on Enable TLS. You will most likely also need to change the Port (the default port for SSL/TLS is 465).

If your SMTP server requires authentication click on Enable Authentication and insert the Username and Password. 

![NPIS Admin console login](/img/user-guide/email-settings.png)

* Host

    - Host denotes the SMTP server hostname used for sending emails.
* Port

    - Port denotes the SMTP server port.
* From

    - From denotes the address used for the From SMTP-Header for the emails sent.
* From Display Name

    - From Display Name allows to configure a user friendly email address aliases (optional). If not set the plain From email address will be displayed in email clients.
* Reply To

    - Reply To denotes the address used for the Reply-To SMTP-Header for the mails sent (optional). If not set the plain From email address will be used.
* Reply To Display Name

    - Reply To Display Name allows to configure a user friendly email address aliases (optional). If not set the plain Reply To email address will be displayed.
* Envelope From

    - Envelope From denotes the Bounce Address used for the Return-Path SMTP-Header for the mails sent (optional).





