May Sale! All accounts are 40% off this week.

nullReference's avatar

Does mailgun driver handle rate limiting?

Just curious if the built in mailgun driver handles rate limiting. In the mailgun documentation it is stated that there is a 300 request per minute rate limit and that the api returns the following when met:

{
  "retry-seconds": 60,
}

Does anyone know how this response is handled when received by the default mailgun email driver?

0 likes
2 replies
s4muel's avatar

i dont think it is handled at all

nullReference's avatar
nullReference
OP
Best Answer
Level 1

It appears I was looking at a specific subsection of their api for dealing with domains. I spoke with a representative at mailgun who stated that the api allows up to 4500 messages to be sent per minute. Any messages over 4500 are then rolled over into the next minute. Therefore there should be no reason for laravel to take any sort of rate limiting into account (as long as I have correctly understood the information presented to me)

Please or to participate in this conversation.