I have IN installed on a public webspace and it worked very well for years. Now I figured out that I have problems sending mails.
The mail settings in .env and in UI are identical and the test mail from UI works fine. But I am not able to send any other mails. Neither invoice mails nor user invitation mails.
I played around with variuos settings in .env and forced a reload via /update?secret= as I can’t run any commands in CLI. The result stays the same. Only the UI test mails work but nothing more.
I can’t find any logs under storage/logs even with
APP_DEBUG=true
EXPANDED_LOGGING=true
I’m open to every hint. The webserver is running PHP8.2:
I got the reply from the webhoster that it is not possible to set the PHP CLI version generally.
The only option I have is to adjust every PHP call in all scripts and replace php with /usr/bin/php82
If I would know where to change that to get mail to work again I would do that.
Generally it was ideal to have an optional variable in .env auf the PHP path. But this would make it necessary to adjust the scripts that use the PHP CLI.