# Approval by mail

## Requirements (self-hosted)

| GLPI Version | Minimum PHP | Recommended |
| ------------ | ----------- | ----------- |
| 10.0.x       | 8.1         | 8.2         |
| 11.0.x       | 8.2         | 8.4         |

{% hint style="info" %}
A [GLPI Network STANDARD](https://services.glpi-network.com/#offers) subscription (or higher) is required. This plugin is also available for all GLPI Network [Cloud instances](https://glpi-network.cloud).
{% endhint %}

***

## Install the plugin

* Go to the marketplace. Download and install the plugin **ApprovalByMail**.

<div align="left"><figure><img src="/files/JD6SEXNtRhITzSVyhB4e" alt="images/Approval_mail-1.png"><figcaption></figcaption></figure></div>

***

## Using the plugin

Once activated, there are no specific settings to be made (apart from the notification layout, if you wish, via **Setup > Notifications > Notification templates**. The template is **Tickets validation**)

* In a new ticket, enter the name of the person or group receiving the approval request.

<figure><img src="/files/qYoUAt2j1dhxUTl7AJ6T" alt="images/Approval_mail-2.png"><figcaption></figcaption></figure>

An email will be received with the option of **Validating** or **Refusing** the request. This contains 3 links (if no changes have been made to the model).

* The ticket reminder
* The acceptance link
* The refusal link

<figure><img src="/files/l8wHVpS8gNXx2eE7uRrb" alt="images/Approval_mail-3.png"><figcaption></figcaption></figure>

* When the form is validated, you are redirected to GLPI with a notification of acceptance:

<div align="left"><figure><img src="/files/6a1j2ULWyxspuwdRgKay" alt="images/Approval_mail-4.png"><figcaption></figcaption></figure></div>

* If the form is refused, a comment will be requested to validate the refusal:

<figure><img src="/files/nDPI7HwFJqskGOb7Qk7W" alt="images/Approval_mail-5.png"><figcaption></figcaption></figure>

* It is not possible to reply 2 times to the validation, an error message will be displayed:

<div align="left"><figure><img src="/files/yIMQ540ZdIWWTyVexcmB" alt="images/Approval_mail-6.png"><figcaption></figcaption></figure></div>

***

## FAQ

If you have any questions about using the plugin, please consult our FAQ

<a href="/spaces/SvoJ3lioglS2UZLcWWyP/pages/0iYcn7g49daUfLiSjuRu" class="button secondary">Go to FAQ</a>


---

# 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://help.glpi-project.org/doc-plugins/plugin-glpi-network/approvalbymail.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.
