ACCOUNT_THROTTLED in BulkEmailEntryResult

0

Hi, I used sesv2.sendBulkEmail (@aws-sdk/client-sesv2) to send 18000+ emails but have a problem with ACCOUNT_THROTTLED error that returns in BulkEmailEntryResult. How can I handle this case?

(My daily sending quota is 50,000 emails per 24-hour period and My maximum send rate is 14 emails per second.)

I use sleep(5000) to slowdown my request, it work for first 500 emails but my service can't wait that long.

1 Resposta
1
Resposta aceita

Nevermind, I let it error and make cron-job to resend it later.

respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas