• Resolved eitanc

    (@eitanc)


    Hello,

    I hooked MP to deliver emails via AWS SES, and I set the Sending frequency to be “Recommended”, hence 100 emails?every 5 minutes.

    I have more than 100 subscribers for new posts.

    AWS approved my SES account with a maximum send rate of 14 messages per second.

    My question is how does MP makes sure the delivery is not blocked?

    Does is try to deliver all of the 100 messages every 5 minutes?

    If MP is blocked by SES rate limiting – does MP knows to split the delivery to several groups of emails to be delivered every few seconds?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Bruna a11n

    (@bruberries)

    Hi @eitanc,

    The MailPoet plugin won’t impose any limits for your sending if you’re sending emails with AWS SES. However, it also depends on your website’s performance to process the scheduled tasks and on the task scheduler option you’re using and how it’s setup.

    If MP is blocked by SES rate limiting – does MP knows to split the delivery to several groups of emails to be delivered every few seconds?

    If you have set the sending frequency to 100 emails every 5 minutes, it means the task scheduler will trigger the emails to be sent and the plugin will process them. In case it reaches the limit from AWS or from your settings, send is paused until the next trigger.

    I hope this clarifies!

    Thread Starter eitanc

    (@eitanc)

    Hi Bruna,

    Thanks for the detailed reply.

    So, it looks like there should be no problem, worst case the total amount will split to groups of 14 emails, each group will be delivered every 5 minutes, which is fine by me.

    I believe you should publish this info in a public KB of yours, as I guess others will have the same question.

    Thank you.

    Thread Starter eitanc

    (@eitanc)

    Wait… what do you mean by “trigger”? The next time I publish a new post and a new full delivery is needed?

    Or that MP will “know” that the full delivery was not completed because SES rate limited the first attempt and so MP will do another delivery in 5 minutes, for the rest of the emails that were not send? and so until all are delivered

    Plugin Author Bruna a11n

    (@bruberries)

    Hey @eitanc,

    AWS approved my SES account with a maximum send rate of 14 messages per second.

    I’d say it’s unlikely that the plugin will be able to process 14 messages per second, as all emails are individually scheduled in the database, rendered, processed, etc. So I don’t think you’ll ever reach this limit, unless Amazon also imposes a daily limit for the number of messages you can send.

    Wait… what do you mean by “trigger”? The next time I publish a new post and a new full delivery is needed?

    By trigger I mean the task scheduler triggering the scheduled emails to be sent. For reference: https://kb.mailpoet.com/article/129-newsletter-task-scheduler-cron

    Thread Starter eitanc

    (@eitanc)

    Thank you Bruna,

    Yes, but this is an assumption, not something explicit that I understand that MP tested. My server my not be that fast, but if yes – that can be a problem.

    My SES daily limit is far above so it will not be an issue.

    Can you check with your Dev or QA for an explicit answer – what happens if SES blocks sending due to rate limit and not all emails were delivered yet?

    Plugin Author Bruna a11n

    (@bruberries)

    Hi @eitanc,

    Yes, but this is an assumption, not something explicit that I understand that MP tested. My server my not be that fast, but if yes – that can be a problem.

    This is not an assumption, it is known that your website and our plugin won’t be able to process and send 14 emails per second. You can read more about it here: https://www.mailpoet.com/faq-mailpoet-performance/

    Can you check with your Dev or QA for an explicit answer – what happens if SES blocks sending due to rate limit and not all emails were delivered yet?

    If you reach the 3rd-party sending provider’s limit, sending will be paused until they unblock it for you and the cron job is triggered in the plugin. You should see a message about it when going to the MailPoet > Help > System Status tab.

    Thread Starter eitanc

    (@eitanc)

    Thank you Bruna,

    The link you supplied state that MP can send emails very fast, I didn’t see any mention of how it behaves when the remote side is rate limiting.

    Also, the post of yours of “Lists of Hosts and Their Email Sending Limits”, https://kb.mailpoet.com/article/150-lists-of-hosts-and-their-email-sending-limits, doesn’t mention AWS SES, while it is a prominent config option at your plugin – better add info about it there.

    Well, I guess I will just have to see in my next delivery how it goes.

    Thank you.

    Plugin Author Bruna a11n

    (@bruberries)

    That’s because the article is about using your hosting provider to send emails, not in regards to using 3rd-party professional sending providers like Amazon SES.

    B. If you use a 3rd party email delivery service to deliver your emails, you may choose to send up to 100 emails every 5 minutes (nearly 29,000 emails a day) or more.

    This setting in our plugin helps you to impose a limit on your side to send emails. The batches of emails that will be processed by your website and sent will also depend on:

    • Your server resources, which will determine how fast the site is able to process each email;
    • Everything else running on the site (other plugins, custom code, etc), which will affect the available resources in the point above.
    Thread Starter eitanc

    (@eitanc)

    Got it, thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Sending frequency with AWS SES’ is closed to new replies.