> For the complete documentation index, see [llms.txt](https://help.glpi-project.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.glpi-project.org/documentation/fr/modules/administration/mailqueue.md).

# File de notifications

Tous les e-mails de notification passent par un file d'attente avant leur envoi effectif. Cela permet de conserver un historique et une liste des différents e-mails envoyés.

Une action automatique (`queuedmail`) permet l'envoi des e-mails en attente (voir [Configurer les actions automatiques](/documentation/fr/modules/setup/crontasks.md)). Une autre action automatique (`queuemailclean`) nettoie le file d'attente en ne conservant que les e-mails récents.

Le délai appliqué pour l'envoi des notifications peut être défini au niveau de l'entité, voir [administration par entité](/documentation/fr/modules/administration/entities.md)). Cela permet par exemple en cas de modifications multiples rapides d'un objet de n'envoyer qu'une seule notification.

{% hint style="warning" %}
l'utilisation du file d'attente ne fonctionne pas pour un changement, un incident ou un ticket lui-même, mais uniquement pour un sous-objet. Par exemple, lors de la modification de l'impact d'un ticket, l'e-mail sera envoyé immédiatement ; en revanche, en cas d'ajout ou de modification d'un suivi, d'une tâche, d'une demande de validation... l'e-mail sera placé dans le file d'attente.
{% endhint %}

<figure><img src="https://3472943295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0fOFvaYAGyPcoVZsr1BX%2Fuploads%2FJmxCA8PRTrjr8i5ip39o%2Fqueue_view.png?alt=media&amp;token=72302144-1e32-4820-81db-0809e5f6c387" alt="images/mailqueue.png"><figcaption><p>Exemple de file d'attente</p></figcaption></figure>

Dans l'exemple ci-dessus, le délai d'envoi des notifications par e-mail a été fixé à 20 minutes dans la configuration de l'entité ; par conséquent, la date d'envoi est fixée à 20 minutes après la date de création.

Une fois la notification envoyée, le message est placé dans la corbeille avec la date d'envoi.

{% hint style="info" %}
il y aura autant de messages dans la corbeille qu'il y a de destinataires, chacun avec sa propre date d'envoi.
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.glpi-project.org/documentation/fr/modules/administration/mailqueue.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
