Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2906

Mass Mailer: Add rate limit to sending email

    Details

    • Type: Improvement
    • Status: In Review
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.10.0
    • Fix Version/s: Sponsored, 5.12.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.

      Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.

      Suggestion:

      • Add a cog/gear icon like other widgets in the Mass Mailer. Under Tools > Mass Mailer, upper right of widget.
      • Create a form where a rate limit can be set, by default no limit is set (No value = unlimited). This should be an input box for number of emails sent per automation task run.

      If the user enters 100 in the box, then each time the automation task runs it will send 100 emails, then exit. At the next run, it will pick up where it left off and send the next 100 emails, and so on until all the emails are sent. If a user changes the rate limit from say 100 to 200, then at the next cron run it would send 200 instead of 100.

      See https://requests.blesta.com/topic/schedule-mass-mailer

        Activity

        tyson Tyson Phillips (Inactive) created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Description The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.

        Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.
        The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.

        Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.

        See https://requests.blesta.com/topic/schedule-mass-mailer
        tyson Tyson Phillips (Inactive) made changes -
        Story Points 3
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        admin Paul Phillips made changes -
        Fix Version/s Sponsored [ 11113 ]
        Fix Version/s Short Term [ 10800 ]
        admin Paul Phillips made changes -
        Description The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.

        Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.

        See https://requests.blesta.com/topic/schedule-mass-mailer
        The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.

        Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.

        Suggestion:
        - Add a cog/gear icon like other widgets in the Mass Mailer. Under Tools > Mass Mailer, upper right of widget.
        - Create a form where a rate limit can be set, by default no limit is set. How this form looks will depend on how we do the rate limit. Should we pause for so many microseconds after each email? Or should we send x amount per minute where we send them all out quickly, wait a minute and send out the next batch. Which is easier to implement?

        See https://requests.blesta.com/topic/schedule-mass-mailer
        admin Paul Phillips made changes -
        Description The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.

        Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.

        Suggestion:
        - Add a cog/gear icon like other widgets in the Mass Mailer. Under Tools > Mass Mailer, upper right of widget.
        - Create a form where a rate limit can be set, by default no limit is set. How this form looks will depend on how we do the rate limit. Should we pause for so many microseconds after each email? Or should we send x amount per minute where we send them all out quickly, wait a minute and send out the next batch. Which is easier to implement?

        See https://requests.blesta.com/topic/schedule-mass-mailer
        The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.

        Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.

        Suggestion:
        - Add a cog/gear icon like other widgets in the Mass Mailer. Under Tools > Mass Mailer, upper right of widget.
        - Create a form where a rate limit can be set, by default no limit is set. How this form looks will depend on how we do the rate limit. Should we pause for so many microseconds after each email? Or should we send x amount per minute (or per cron run) where we send them all out quickly, wait a minute and send out the next batch. Which is easier to implement?

        See https://requests.blesta.com/topic/schedule-mass-mailer
        admin Paul Phillips made changes -
        Description The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.

        Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.

        Suggestion:
        - Add a cog/gear icon like other widgets in the Mass Mailer. Under Tools > Mass Mailer, upper right of widget.
        - Create a form where a rate limit can be set, by default no limit is set. How this form looks will depend on how we do the rate limit. Should we pause for so many microseconds after each email? Or should we send x amount per minute (or per cron run) where we send them all out quickly, wait a minute and send out the next batch. Which is easier to implement?

        See https://requests.blesta.com/topic/schedule-mass-mailer
        The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.

        Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.

        Suggestion:
        - Add a cog/gear icon like other widgets in the Mass Mailer. Under Tools > Mass Mailer, upper right of widget.
        - Create a form where a rate limit can be set, by default no limit is set. How this form looks will depend on how we do the rate limit. Should we pause for so many microseconds after each email? Or should we send x amount per minute (or per cron run) where we send them all out quickly, wait a minute and send out the next batch. Which is easier to implement?

        x emails per cron run might be better so as not to hold up the cron process, if they can be send out quickly, stop, and start again at the next run.

        See https://requests.blesta.com/topic/schedule-mass-mailer
        admin Paul Phillips made changes -
        Description The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.

        Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.

        Suggestion:
        - Add a cog/gear icon like other widgets in the Mass Mailer. Under Tools > Mass Mailer, upper right of widget.
        - Create a form where a rate limit can be set, by default no limit is set. How this form looks will depend on how we do the rate limit. Should we pause for so many microseconds after each email? Or should we send x amount per minute (or per cron run) where we send them all out quickly, wait a minute and send out the next batch. Which is easier to implement?

        x emails per cron run might be better so as not to hold up the cron process, if they can be send out quickly, stop, and start again at the next run.

        See https://requests.blesta.com/topic/schedule-mass-mailer
        The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.

        Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.

        Suggestion:
        - Add a cog/gear icon like other widgets in the Mass Mailer. Under Tools > Mass Mailer, upper right of widget.
        - Create a form where a rate limit can be set, by default no limit is set (No value = unlimited). This should be an input box for number of emails sent per automation task run.

        If the user enters 100 in the box, then each time the automation task runs it will send 100 emails, then exit. At the next run, it will pick up where it left off and send the next 100 emails, and so on until all the emails are sent. If a user changes the rate limit from say 100 to 200, then at the next cron run it would send 200 instead of 100.

        See https://requests.blesta.com/topic/schedule-mass-mailer
        admin Paul Phillips made changes -
        Affects Version/s 5.10.0 [ 12001 ]
        admin Paul Phillips made changes -
        Component/s Plugins [ 10007 ]
        admin Paul Phillips made changes -
        Reporter Tyson Phillips [ tyson ] Paul Phillips [ admin ]
        admin Paul Phillips made changes -
        Fix Version/s 5.12.0-b1 [ 12000 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.12.0 Sprint 3 [ 210 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 2 hours, 58 minutes [ 10680 ]
        Worklog Id 17623 [ 17623 ]
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Time Spent 2 hours, 58 minutes [ 10680 ] 1 day, 2 hours, 55 minutes [ 39300 ]
        Worklog Id 17624 [ 17624 ]
        abdy Abdy Franco made changes -
        Time Spent 1 day, 2 hours, 55 minutes [ 39300 ] 2 days, 2 hours, 2 minutes [ 64920 ]
        Worklog Id 17625 [ 17625 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 days, 2 hours, 2 minutes
              2d 2h 2m

                Agile