Hi @tezalsec
There were no recent changes in the MainWP code that would affect Daily Digest or email deliverability in general.
To clarify – all other emails are being sent out properly from that WordPress site?
And are you using any other email notifications from MainWP (such as Site Health, Lighthouse, and Domain Monitor), and are you receiving those emails?
Have there been any changes on the MainWP Dashboard, such as new Plugins, that might affect this?
Do you know if there were any changes on the host side that might affect email deliverability?
Can you check if you have any relevant error logs on the MainWP > Info > Error Log page?
Hi @bojankatusic ,
all other emails are sent as usual.
They were no changes in the site at all at that time.
Nothing changed on the server, which is a VPS I myself manage.
There are no relevant error logs.
I just deactivated all non-essential plugins to see if that will make a difference, but I don’t think it will.
By the way, is there any option to trigger the daily digest email function, through interface or code? So I can try and debug what happens instead of waiting for cron?
Regards, Tez
Unfortunately, there’s no out-of-the-box method to manually trigger the Daily Digest email.
However, by increasing “Daily update frequency” in Settings > General Settings, and then using the hook below, may produce more frequent Daily Digest emails.
add_filter( 'mainwp_updatescheck_sendmail_for_each_auto_sync_finished', 'myhook_mainwp_updatescheck_sendmail_for_each_auto_sync_finished', 10, 2 );
function myhook_mainwp_updatescheck_sendmail_for_each_auto_sync_finished() {
return true;
}
Let us know how it goes.
Hi Bojan, thank you. I did what you suggested, and it triggered the emails being sent again. 🙂
I then started eliminating possible causes to find the cause but could not really find any. The cause was not other plugins, and eventually I changed the frequency from twelve back to twice a day, and turned off your filter function, and it is still working.
So the cause is not clear, but it is working again.
Thanks again.
Regards, Tez