> 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/doc-plugins/fr/plugins-glpi-network/approvalbymail.md).

# Approbation par e-mail

## Prérequis (auto-hébergé)

| Version GLPI | PHP minimum | PHP Recommandé |
| ------------ | ----------- | -------------- |
| 11.0.x       | 8.2         | 8.4            |
| 12.0.X       | 8.3         | 8.5            |

{% hint style="info" %}
Une souscription [GLPI Network STANDARD](https://services.glpi-network.com/#offers) (ou supérieure) est requise. Ce plugin est également disponible pour toutes les instances GLPI Network [Cloud](https://glpi-network.cloud).
{% endhint %}

***

## Installation du plugin

* Rendez-vous sur le marketplace. Téléchargez et installez le plugin **ApprovalByMail**.

<div align="left"><figure><img src="https://782257568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFKLcURHvFBybgf5dths%2Fuploads%2Fgit-blob-43b924e8a816e3f521a00f266e3ee5e2718d8ffa%2FApproval_mail-1.png?alt=media" alt="images/Approval_mail-1.png"><figcaption></figcaption></figure></div>

***

## Utilisation du plugin

Une fois activé, il n'y a pas de réglages spécifiques à effectuer (hormis la mise en page des notifications, si vous le souhaitez, via **Configuration > Notifications > Modèles de notification**. Le modèle est **Tickets validation**)

* Dans un nouveau ticket, renseignez le nom de la personne ou du groupe qui doit recevoir la demande d'approbation.

<figure><img src="https://782257568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFKLcURHvFBybgf5dths%2Fuploads%2Fgit-blob-3c2552028c54230de083172d6323a5cefb8498b9%2FApproval_mail-2.png?alt=media" alt="images/Approval_mail-2.png"><figcaption></figcaption></figure>

Un e-mail sera reçu avec la possibilité de **Valider** ou de **Refuser** la demande. Celui-ci contient 3 liens (si aucun changement n'a été effectué sur le modèle).

* Le rappel du ticket
* Le lien d'acceptation
* Le lien de refus

<figure><img src="https://782257568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFKLcURHvFBybgf5dths%2Fuploads%2Fgit-blob-5a0e92f0832fe5d2c333179fa9afadf5472511bd%2FApproval_mail-3.png?alt=media" alt="images/Approval_mail-3.png"><figcaption></figcaption></figure>

* Lorsque le formulaire est validé, vous êtes redirigé vers GLPI avec une notification d'acceptation :

<div align="left"><figure><img src="https://782257568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFKLcURHvFBybgf5dths%2Fuploads%2Fgit-blob-dddd0d9ef11bd8604f74383f8341fdd7a36e6ec9%2FApproval_mail-4.png?alt=media" alt="images/Approval_mail-4.png"><figcaption></figcaption></figure></div>

* Si le formulaire est refusé, un commentaire vous sera demandé pour valider le refus :

<figure><img src="https://782257568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFKLcURHvFBybgf5dths%2Fuploads%2Fgit-blob-fac41d64ddc0f176f66bb19228a3ef1dcb428683%2FApproval_mail-5.png?alt=media" alt="images/Approval_mail-5.png"><figcaption></figcaption></figure>

* Il n'est pas possible de répondre 2 fois à la validation, un message d'erreur s'affichera :

<div align="left"><figure><img src="https://782257568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFKLcURHvFBybgf5dths%2Fuploads%2Fgit-blob-5d746e4cf6bde4f32f31c32346857c4458a4e73b%2FApproval_mail-6.png?alt=media" alt="images/Approval_mail-6.png"><figcaption></figcaption></figure></div>

***

## FAQ

Si vous avez des questions sur l'utilisation du plugin, n'hésitez pas à consulter notre FAQ

<a href="https://help.glpi-project.org/faq/fr/plugins/approbation-par-mail.md" class="button secondary">Aller à la FAQ</a>


---

# 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/doc-plugins/fr/plugins-glpi-network/approvalbymail.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.
