Koozali.org: home of the SME Server

Other Languages => Français => Topic started by: ericcar on March 26, 2019, 06:15:01 PM

Title: [RESOLU] PHP-SCL & GLPI envoi de mail
Post by: ericcar on March 26, 2019, 06:15:01 PM
Bonjour

J'utilise GLPI https://glpi-project.org/fr/ (https://glpi-project.org/fr/) dans une ibay de mon sme 9.2 ça fonctionne sauf l'envoi de mail automatique.

Comme dans la doc J'ai ajouté une tache cron
*/5 * * * *  /usr/bin/php71 /home/e-smith/files/ibays/glpi/html/front/cron.php &>/dev/null

Dans les logs la tache cron se lance et ne génère pas d'erreur

Dans GLPI le mail de test fonctionne bien en direct.

Dans GLPI il y a une deuxième possibilité pour l'envoi de mail, renseigner un serveur smtp. Là aussi ça ne fonctionne pas, le mail de test ne passe pas.

Avez vous une idée du problème.
Title: Re: PHP-SCL & GLPI envoi de mail
Post by: ReetP on March 26, 2019, 06:27:38 PM
Je voudrais demander de l'aide dans leurs forums - c'est vraiment une application spécifique.

Notez qu'il existe une option --debug

=========================

I would ask in their forums for help - it is application specific really.

Note there is a --debug option

https://forum.glpi-project.org/viewtopic.php?id=163741
Title: Re: PHP-SCL & GLPI envoi de mail
Post by: ericcar on March 26, 2019, 07:35:49 PM
effectivement le problème venait de GLPI

Setup》automatic task 》queuednotification option CLI au lieu de GLPI   :-P

A+
Title: Re: [RESOLU] PHP-SCL & GLPI envoi de mail
Post by: ReetP on March 27, 2019, 12:23:52 AM
Le problème est que nous n’avons pas GPLI, nous n’avons donc aucune idée du fonctionnement de son logiciel de messagerie. Vous devez déboguer le script PHP.

The issue is we do not have GPLI, so we have no idea how its mailer works. You need to debug the PHP script

Autorisations?/Permissions?

Code: [Select]
ll /home/e-smith/files/ibays/glpi/html/front/cron.php
Debug?

Code: [Select]
/usr/bin/php71 /home/e-smith/files/ibays/glpi/html/front/cron.php --debug