Emails no longer sent from cron job
-
Hi – On a site that is a WordPress install that uses WP Mail SMTP, I have a WordPress script that runs in a cron job. The script loads WordPress by having
require('./wp-load.php');
at the top of the script. At the end of the script I call wp_mail() to send an email. I’ve been receiving these emails correctly for months. Last night I discovered I’ve not gotten a cron email since October 30, and the last email I received was from 30 minutes before I installed the latest WP Mail SMTP plugin upgrade.I did a lot of testing last night. I learned that when I run the WordPress script manually as a URL in the browser I receive the emails as intended. When the script runs as a cron job, it no longer sends its emails. Since these worked right until I upgraded the plugin I assume something’s changed in the plugin that prevents the email during the cron job. Any suggestions?
Thank you
The page I need help with: [log in to see the link]
- The topic ‘Emails no longer sent from cron job’ is closed to new replies.