# SMTP server setup

{% 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="/files/XhV9roeYKvAAcdDyBbMc" 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="/files/HpW846o4Gl5H8G2ZyeTd" 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="/files/jhN1e4tHv6B2sXKzmv2b" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/EULv6LsOUCoR93QNEj4g" alt=""><figcaption></figcaption></figure>
{% endstep %}

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpcenter.gitprotect.io/management/notifications/email-notifications/smtp-server-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
