# 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="https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2FOTqvEfrGrW3abXf7myHz%2Fapproval-by-mail.png?alt=media&#x26;token=6e60782f-77fa-4214-88e1-376c96385b16" 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="https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2Fgit-blob-3c2552028c54230de083172d6323a5cefb8498b9%2FApproval_mail-2.png?alt=media" 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="https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2Fgit-blob-5a0e92f0832fe5d2c333179fa9afadf5472511bd%2FApproval_mail-3.png?alt=media" 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="https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2Fgit-blob-dddd0d9ef11bd8604f74383f8341fdd7a36e6ec9%2FApproval_mail-4.png?alt=media" 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="https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2Fgit-blob-fac41d64ddc0f176f66bb19228a3ef1dcb428683%2FApproval_mail-5.png?alt=media" 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="https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2Fgit-blob-5d746e4cf6bde4f32f31c32346857c4458a4e73b%2FApproval_mail-6.png?alt=media" 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="https://app.gitbook.com/s/SvoJ3lioglS2UZLcWWyP/plugins/approval-by-mail" class="button secondary">Go to FAQ</a>
