> For the complete documentation index, see [llms.txt](https://helpcenter.gitprotect.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.gitprotect.io/management/notifications/email-notifications/smtp-server-setup.md).

# SMTP server setup

This article explains how to configure an SMTP server in GitProtect.

{% hint style="warning" %}
**SMTP** server configuration settings are available **only for on-premise GitProtect services**.
{% endhint %}

## Server configuration

{% stepper %}
{% step %}
Navigate to ⚙ **Settings** > **E-mail notifications** and click this tab to expand its settings.
{% endstep %}

{% step %}
Expand the **E-mail server** tab.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-f44a82ca8b27756504b0eb61727e48fbde86eede%2Fimage%20(973).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Specify the **SMTP** server configuration:

1. Enter the **SMTP server IP address** and **SMTP port**.
2. Enter the **sender's e-mail address**.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-1146693cf6584338c0aee6ffa333bcf400470ddd%2Fimage%20(974).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
If the server requires authentication:

1. Check the **Server requires authentication** checkbox to display additional settings.
2. Enter the **login** and either select the **password** from the **Password Manager** or add a new one.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-9dfee219a9591dcb9384171371416d2eaa8a4de6%2Fimage%20(977).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Optionally, send a **test message** to verify that the settings are correct.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-8fd5af2a5ed40abc39af906c078b83fbf6fac7f7%2Fimage%20(975).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Review your settings and click **Save** to finish the setup.
{% endstep %}
{% endstepper %}
