• Resolved Lukas Beran

    (@bari007)


    Hi.

    Now with the latest version 4.1.15 my emails are not sent as before. Sending limit of my provider is 30 emails per minute. I don’t use WP cron, I use my own cron (curl). I set Maximum emails to send in an hour to 25. I call the URL on my own cron every 5 minutes. It worked fine some time ago, but now it allows me to send only 25 emails per hour – but based on the information you provided earlier, when using own cron service, it sends the full package of emails every time the cron URL is called. But now it does not. It sends 25 emails in first package and then it shows {“status”:”ERROR”,”es_remaining_email_count”:100,”message”:”EMAIL_SENDING_LIMIT_EXCEEDED”} and does not allow to send more emails.

    So how does it work? Is it just some bug? Or how should I configure it now to be able to send 25 emails every time I execute the cron URL, so every 5 minutes?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor Malay Ladu

    (@malayladu)

    Hi Lukas,

    The option Email Subscribers plugin provides is to maximum email your system can send in an hour.

    So, if your system allows you to send 30 emails/ minute. Then you can send a maximum of 1800 emails/ hour.

    So, you can set a maximum of 1800 in that option instead of 25. It should fix your sending issue.

    Hope that helps.

    Thread Starter Lukas Beran

    (@bari007)

    But my limit is hard quota for 1 minute. So if I set 1800 emails in the plugin settings, how does the system know how many emails it can send during cron URL execution? I assume that the system then sends 1800 emails in each cron URL execution which will not work.

    I execute the cron URL every 5 minutes and I would like to send 25 emails in each cron URL execution.

    Plugin Contributor Malay Ladu

    (@malayladu)

    Hi Lukas,

    We are keeping a count of emails that are sent in a particular hour. So, if you set 1800, it won’t send more than 1800 emails in an hour.

    If you are sending 25 emails in 5 minutes which means you are sending 300 emails in an hour. So, instead of 1800 emails, you can set 300 emails as an hourly limit.

    Hope that helps.

    Thread Starter Lukas Beran

    (@bari007)

    Ok, but how the system knows how often I trigger the URL? So how the system knows how many emails it should send in one package (one execution of the cron URL)?

    I would appreciate some setting which defines amount of emails sent during execution of the cron URL. This would easily solve all issues like this.

    Thread Starter Lukas Beran

    (@bari007)

    Any update, please?

    Plugin Contributor Malay Ladu

    (@malayladu)

    Hi Lukas,

    At this moment, the system tries to send the remaining emails for that hour in a cron execution. If there are more emails in a queue, it will send in the next hour as the hourly limit exceed.

    We will think on the setting where you can define maximum how many emails should be sent in each cron execution.

    Will update you once this option will be available.

    Thread Starter Lukas Beran

    (@bari007)

    Hi Malay.

    Do you please have any update on this? I would really appreciate it. My sending limit is 30 emails per minute, so I can send every minute up to 30 emails. But the plugin allows only hourly limit, so I must set it to 30 emails per hour which is really limiting as I have hundreds of subscribers.

    Plugin Contributor Malay Ladu

    (@malayladu)

    Hi Lukas,

    Sorry. We don’t have this setting at this moment.

    You can increase the hourly limit number till the time setting available in ES.

    Thread Starter Lukas Beran

    (@bari007)

    Hi Malay.

    This is not possible. My email provider allows 30 emails per minute. So if I set more in ES, sending will be rejected by the mail provider. So this is the reason why I’d really appreciate some setting that will allow me to set minute limit instead of hourly limit.

    Plugin Contributor Malay Ladu

    (@malayladu)

    Hi Lukas,

    Ok.

    We are considering to add this in one of the upcoming release of Email Subscribers.

    Will update you once it’s available.

    Thread Starter Lukas Beran

    (@bari007)

    Hi Malay.

    I see some changes in the latest update. Do I understand it correctly that each time I execute the cron URL, it sends now the amount of emails specified in Maximum Emails To Send At once? So if I execute the cron URL every five minutes, it sends every five minutes the specified amount of emails?

    And the option Maximum Emails To Send In An Hour is still used, so I set for example 30 emails per cron execution (Maximum Emails To Send At once)and because I execute the cron URL every five minutes, I set the Maximum Emails To Send In An Hour to 360 (or more), right? So it then sends 30 emails per cron URL execution which 30 emails every five minutes.

    Plugin Contributor Malay Ladu

    (@malayladu)

    Hi Lukas,

    Sorry.. I forgot to update you about the new feature.

    So if I execute the cron URL every five minutes, it sends every five minutes the specified amount of emails?

    Yes..on every five minutes (cron interval), it will send maximum specified amount of emails.

    And the option Maximum Emails To Send In An Hour is still used, so I set for example 30 emails per cron execution (Maximum Emails To Send At once)and because I execute the cron URL every five minutes, I set the Maximum Emails To Send In An Hour to 360 (or more), right?

    Not necessary you have to set 360 as Emails to send in an hour. If you want and your host allow to send then you can set if not you can set the appropriate number.

    Hope that helps.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Number of emails sent in an hour’ is closed to new replies.