> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-fix-docs-5528-php-updates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Mailjet

> Découvrez comment configurer vos actions de flux Mailjet pour envoyer des courriels.

## Configurer la connexion à votre coffre-fort

Pour configurer une connexion au coffre-fort pour vos actions Mailjet, vous aurez besoin d’une **clé API** et d’une **clé secrète** :

<Frame>
  <img src="https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/B6gubTCJhJPxmoQc/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?fit=max&auto=format&n=B6gubTCJhJPxmoQc&q=85&s=deb8a17123bf5f524013e1454a812fe6" alt="Dashboard > Actions > Forms > Flows > actions > MailJet" data-og-width="1404" width="1404" data-og-height="697" height="697" data-path="docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/B6gubTCJhJPxmoQc/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=280&fit=max&auto=format&n=B6gubTCJhJPxmoQc&q=85&s=b02feaa46fa46b93ecd603e42270e665 280w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/B6gubTCJhJPxmoQc/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=560&fit=max&auto=format&n=B6gubTCJhJPxmoQc&q=85&s=c52fb8fbc228a70c03de8117497d911b 560w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/B6gubTCJhJPxmoQc/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=840&fit=max&auto=format&n=B6gubTCJhJPxmoQc&q=85&s=484dc6b355193044bebd214aea4a79e1 840w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/B6gubTCJhJPxmoQc/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=1100&fit=max&auto=format&n=B6gubTCJhJPxmoQc&q=85&s=1a0a357d9e61855dd5dd23c63dd17033 1100w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/B6gubTCJhJPxmoQc/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=1650&fit=max&auto=format&n=B6gubTCJhJPxmoQc&q=85&s=860057c3292623b32d4565a2199c1409 1650w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/B6gubTCJhJPxmoQc/docs/images/fr-ca/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=2500&fit=max&auto=format&n=B6gubTCJhJPxmoQc&q=85&s=17390ae0bca5f4026cecdaee564f2a77 2500w" />
</Frame>

Celles-ci peuvent être trouvées sur la page Account (Compte) du [tableau de bord Mailjet](https://app.mailjet.com/account/api_keys) sous les clés API.

## Send email (Envoyer un courriel)

Envoyer un courriel en utilisant Mailjet comme fournisseur de messagerie.

<Frame>
  <img src="https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/Q2aeBA5weZe_ToYg/docs/images/fr-ca/cdy7uua7fh8z/5z1CqSZTrLs1oMdHKvHOiM/7e1fa3b5d7ea5a5b2ec51dd58fa1d2ed/mailjet.png?fit=max&auto=format&n=Q2aeBA5weZe_ToYg&q=85&s=254f643b36926d274c23505712ced067" alt="" width="832" height="705" data-path="docs/images/fr-ca/cdy7uua7fh8z/5z1CqSZTrLs1oMdHKvHOiM/7e1fa3b5d7ea5a5b2ec51dd58fa1d2ed/mailjet.png" />
</Frame>

### Paramètres de saisie

| Paramètre                              | Description                                                                                                            |
| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Nom de l’expéditeur                    | Le nom de l’expéditeur                                                                                                 |
| Courriel de l’expéditeur (obligatoire) | L’adresse courriel de l’expéditeur                                                                                     |
| Nom du destinataire                    | Le nom du destinataire                                                                                                 |
| Courriel du destinataire (obligatoire) | L’adresse courriel du destinataire                                                                                     |
| Nom en CC                              | Le nom du contact en copie conforme                                                                                    |
| Courriel en CC                         | L’adresse courriel en copie conforme                                                                                   |
| Objet                                  | L’objet du courriel                                                                                                    |
| Type de courriel                       | Envoyer un courriel avec contenu HTML ou un modèle enregistré (optionnel)                                              |
| Message (obligatoire)                  | Message en format HTML ou un modèle (optionnel).                                                                       |
| ID du modèle (facultatif)              | Si vous utilisez un modèle, son ID se trouve dans le [ tableau de bord de Mailjet ](https://app.mailjet.com/template). |
| Variables personnalisées (facultatif)  | Ajoutez des variables personnalisées à insérer dans votre modèle.                                                      |
| Suivre l’activité des courriels        | Cocher la case pour suivre l’activité des courriels.                                                                   |

### Paramètres de sortie

Vous trouverez les codes de réponse et d’état attendus dans la [documentation Mailjet](https://dev.mailjet.com/email/reference/send-emails/).
