Mail through Cron Execution does not work!
I’d say the first thing to check is whether or not the cron is actually running properly. Whenever I have issues like this, it’s usually with the cron run itself, not with the code it’s calling. Remove all of the code inside your hooked function and replace it with a single line that sets an … Read more