Webklex / laravel-imap

Laravel IMAP is an easy way to integrate both the native php-imap module and an extended custom imap protocol into your Laravel app.
https://www.php-imap.com
MIT License
617 stars 177 forks source link

E-Mails not outgoing (Undefined constant "FT_UID" In imap.php line 105) #468

Closed xteaun closed 1 year ago

xteaun commented 1 year ago

Sending test-emails works but the sending of emails from active tickets never gets executed. When I enter the following command in a terminal window php /var/www/html/artisan schedule:run --verbose I get the error Undefined constant "FT_UID" In imap.php line 105. In addition to that, the queue:work in the system log says: Zuletzt ausgeführt: ? Letzte erfolgreiche Ausführung ? Versuche den Cache zu leeren um den Befehl zu starten. (last executed: ? Last successful execution ? Try clearing the cache to start the command). I have cleared the cache, but still, the emails do not get send. This has only been an issue after March 14, when everything was working well. So it seems to be an update issue? What can I do to fix this? I am using version 1.8.69 of FreeScout.

xteaun commented 1 year ago

Found the solution. The php-imap extension on my server was missing for some reason. Although I do not remember having changed anything... weird. So running sudo apt-get install php8.0-imap on my server fixed the problem.