How to throttle emails on hosts with email sending limits? (4 posts)

  1. Pinoy.ca
    Posted 6 years ago #

    I'm on 000webhost and I use Mark Jaquith's "Subscribe to Comments" among others and my hosting account was suspended last night when a discussion, well, got out of hand.

    000webhost's email sending limit is 'No more than 30 emails per 5 minutes and no more than 100 emails per hour.'

    000webhost's PHP config doesn't support SSL/TLS so I can't send via Gmail. In any case, Gmail also has a limit of "100 people at a time".

    So as a stopgap I added a "ORDER BY comment_date DESC LIMIT 28" clause to Jaquith's plugin and crossed my fingers.

    Before I go study how to add the Throttle plugin to Swift Mailer and use Swift as a wp_mail() replacement, I thought of coming here to ask if someone has already made a throttling solution or plugin.

    Or maybe someone knows a free or low-cost SMTP server service?

  2. Jose Freitas
    Posted 6 years ago #

    Well, i have the same problem.

  3. webclick
    Posted 6 years ago #

    Yes, I would like to find a solution, too. With Subscribe to Comments (S2C) a post get more comments, and a post can easily get dozens or even hundreds of comments or commenters. S2C needs some sort of throttle, like ...

    "space emails this many seconds apart: __15_ "


    "send only this many emails per minute: __4_ "

    or even

    "don't send immediately, send notifications every __1_ hour(s)"


  4. Matt Banks
    Posted 6 years ago #

    Looking for something similar. I'm on a dedicated server with a few other sites, but it really bogs down the server (high CPU/RAM usage) on posts with big discussions. I regularly get 200+ comments and want to continue using this plugin, but it's really slowing things down without the ability to throttle.

Topic Closed

This topic has been closed to new replies.

About this Topic