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?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community