Good day. The mailing hangs on the sending status. The task scheduler is set up, the test letter is sent and received. Confirmation letters also reach the recipient.
MODX 3.1.2-pl
PHP 7.4.32
GoodNews 2.0.0-alpha2
I am not sure if it works with PHP 7.4. Also have a look here: 2.x not sending emails by raffy99 · Pull Request #105 · gadgetto/GoodNews · GitHub
I changed the Mailer.php file according to your instructions. Sending still hangs on the “Sending” status. Could this be because I don’t have multiprocessing enabled? And how do I enable it?
You can set the number of processes to 1 to deactivate multiprocessing. Do you have any log infos in modx or the php error-log?
Maybe it will help someone. It turned out like this:
You need to configure the cron so that it would contact via a direct link. That is, like this
/usr/bin/wget -O /dev/null https://sitename.com/assets/components/goodnews/cron.php