Support the ongoing development of Laravel.io →
Mail Queues Installation

Hi,

I'm currently using Amazon SES to send e-mails and have configured Redis to queue them.

But my sending ratio at Amazon is 14 e-mails/second and I'm getting this error in my logs when I try to send e-mails consecutively:

production.ERROR: exception 'Aws\Ses\Exception\SesException' with message 'Error executing "SendRawEmail" on "https://email.us-east-1.amazonaws.com"; AWS HTTP error: Client error: `POST https://email.us-east-1.amazonaws.com` resulted in a `400 Bad Request` response:
<ErrorResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
  <Error>
    <Type>Sender</Type>
    <Code>Throttling< (truncated...)
 Throttling (client): Maximum sending rate exceeded. - <ErrorResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
  <Error>
    <Type>Sender</Type>
    <Code>Throttling</Code>
    <Message>Maximum sending rate exceeded.</Message>
  </Error>
  <RequestId>##</RequestId>
</ErrorResponse>
'

How can I throttle the mail sending to match the corresponding ratio from Amazon?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

renatop7 renatop7 Joined 6 Jan 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.