• Resolved yleventhal

    (@yleventhal)


    How do I cancel the scheduled actions initiated by WP_SMTP? One of the scheduled actions is “wp_mail_smtp_process_debug_events_cleanup”.

    Got to this point because I noticed some of my websites’ emails stopped working and turned out to have been marked as spam sources. Now these sites have very little traffic and the website forms recorded few messages, so there isn’t any reason for any of these sites to be sending out spamming messages. I do get a weekly email summary from a couple of these sites. I also checked “Hide Announcements” just now. Yet the repeated action keeps popping up after I delete them. How do I fix it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support David

    (@dpinson)

    Hi there @yleventhal,

    The scheduled actions in WP Mail SMTP are there to handle automated tasks. For instance, the one you’re referring to (wp_mail_smtp_process_debug_events_cleanup) is there to help maintain the debug logs. These logs are used to capture information when an email fails. If you disable these actions, it may cause issues with the plugin.

    Regarding the spam issue you are seeing, the best way to stop spam is to stop it at the source, such as contact forms. Using things like captchas can greatly help mitigate spam bots attacking your forms.

    In case it helps, WPBeginner has an article with several tips for stopping spam: https://www.wpbeginner.com/plugins/how-to-block-contact-form-spam-in-wordpress/

    I hope that helps! Have a great day!

    Thread Starter yleventhal

    (@yleventhal)

    Captchas are set up and working, as well as DMARC, DKIM, and SPF records. Will keep digging.

    Plugin Support David

    (@dpinson)

    Hi there @yleventhal,

    In case it helps, you may need to switch captchas. Some pretty effective ones would be:

    • reCAPTCHA
    • hCAPTCHA
    • Cloudflare Turnstile

    Additionally, math captchas are can fairly easy for a bot to solve. I’m not sure if that’s the type you’re using, but I wanted to mention it just in case.

    I hope that helps! Have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I cancel WP_SMTP’s recurring actions?’ is closed to new replies.