Emails Failing to Send from Workflows following upgrade to 8.10/8.10.1

I have workflows that automatically send emails that work fine in version 8.9.3 but when I upgrade to 8.10/8.10.1 emails fail to send from workflows. I can send emails direct from the UI but emails configured to send from a workflow fail to send and the workflow status shows “running” If I remove the send email function from the workflow the workflow completes all other functionality ok.

Anyone have any ideas why/how to fix?

You have to follow the instructions for these latest versions. They use Symfony Messenger component for scheduled emails.

I have done Messenger Setup - and run from command line and checked it is working by running the migration tasks successfully. Emails are still not sent from workflows.

Also trying to run messenger as Cron Job - i doesn’t start - have attached a copy of the Cron Log

adrian.zip (2.8 KB)

You seem to be running your cron job from a web server instead of CLI, how exactly did you set up the job?

Warning: The console should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI

I used the con job setup from CPANEL

Have you set correct file permissions, once you upgraded to v8.10.1?

Can you see the command that CPanel creates? You might want to ask your hosting about this.

The messenger worker needs to run in the background continuously, if they divert console jobs to web server calls, they might not allow this, I don’t know.