• Resolved provirtualzone

    (@provirtualzone)


    Hi,

    Autoptimize just send it more than 2000 emails in less than 24h.

    Dont know why this happen, but this was a huge problem.

    “Autoptimize’s cache size is getting big, consider purging the cache. Have a look at https://ww.wp.xz.cn/plugins/autoptimize/faq/ to see how you can keep the cache size under control. (site: )

    My hosting just block my email server because of this. How can I prevent this?

    I cannot have my email server working until I discover how to block this from happen again.

    Thank You

    LP

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    you can disable mails being sent with this code-snippet;

    
    add_filter('autoptimize_filter_cachecheck_sendmail','__return_false');

    hope this helps,
    frank

    Thread Starter provirtualzone

    (@provirtualzone)

    Hi Frank,

    Thanks for the reply.

    My question is, why this happen?? I have this plugin for long time and this never had happen.

    So what did trigger this?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I guess a combination of:
    * your cache size passing the 500GB threshold
    * a bug in 2.4.2 which resulted in cachechecker cron running more then once a day which was fixed in 2.4.4 (which not only fixes the bug but tries to remove the surplus scheduled cachechecker jobs).

    so if you have not upgraded to 2.4.4 you should consider doing so, if only to clean up those extra cron-jobs.

    frank

    Thread Starter provirtualzone

    (@provirtualzone)

    My plugins are all updated, so that one is also updated and yes is 2.4.4

    But regardless that, I want to disable sending emails. You have already add the code-snippet for that, but I never used snippet codes.

    I installed the Snippets plugin for this, this is just create a new new snipped code with the option “Run snippet everywhere” and that is it?

    Or is that a way to run directly on a specific plugin?

    Again, thank your for reply and support.

    LP

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I usually advise to use Code Snippets indeed, new snippet, run everywhere and that’s it.

    if you have already updated you could install the “wp crontrol”-plugin and check if ao_cachechecker is still scheduled multiple times?

    frank

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin sending 2000 emails’ is closed to new replies.