> 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

{% 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
