> For the complete documentation index, see [llms.txt](https://docs.opencityitalia.it/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opencityitalia.it/guida-alla-creazione-dei-servizi-digitali/le-funzioni-generali-delladmin/configurare-i-mailer.md).

# Configurare i mailer

Un **mailer** è un server SMTP esterno tramite cui la piattaforma può inviare notifiche sullo stato delle pratiche. Configura un mailer quando vuoi che le notifiche partano da un indirizzo specifico dell'Ente — ad esempio una casella PEC — anziché dall'indirizzo predefinito della piattaforma.

Per configurare un mailer, vai in **Impostazioni → Ente → Invio messaggi** e clicca su "Aggiungi".

<figure><img src="/files/7re7AloR2kXRcvD65Mpz" alt=""><figcaption></figcaption></figure>

Compila i campi richiesti:

* **Nome** — un'etichetta per identificare il mailer (es. "PEC Comune");
* **Indirizzo del server** — l'host SMTP (es. `smtp-relay.brevo.com`);
* **Porta** — la porta SMTP (es. `587`);
* **User** — il nome utente per l'autenticazione SMTP;
* **Password** — la password per l'autenticazione SMTP;
* **Encryption** — il tipo di cifratura (es. SSL);
* **Mittente** — l'indirizzo email che comparirà come mittente nelle notifiche inviate tramite questo mailer.

Clicca su **Salva** per confermare.

{% hint style="info" %}
Puoi configurare più mailer e associarli a servizi diversi. Una volta salvato un mailer, è disponibile nella sezione [Messaggi di ogni servizio](/guida-alla-creazione-dei-servizi-digitali/le-configurazioni-del-servizio/impostare-i-messaggi-al-cittadino.md) per l'invio di notifiche a indirizzi aggiuntivi.
{% endhint %}


---

# 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:

```
GET https://docs.opencityitalia.it/guida-alla-creazione-dei-servizi-digitali/le-funzioni-generali-delladmin/configurare-i-mailer.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.
