Answer the question
In order to leave comments, you need to log in
How to limit the queue to only 200 tasks per hour?
Hello!
Made sending E-mail notifications to users through asynchronous task execution (Message component of the framework).
Mail is sent via the mail.ru smtp server, which has an approximate limit of 200 letters per hour.
How can I limit the execution of the queue under these limits? Maybe there are some settings for this case?
Answer the question
In order to leave comments, you need to log in
Connect a normal mailer without restrictions and do not invent.
Notifications, most often, should be practically synchronous, otherwise some of them make no sense. By using the 200 message limit, you make it impossible for a person to receive up-to-date notifications when the limit is exceeded. Sooner or later, this limit will be blocked many times and your notifications will never reach the user.
In addition, there may be other important messages through the mailer, for example, password recovery. Having a limit - Your users may find themselves in a situation where it will not be possible to recover the password. And this will not be the best impression on the dumping system, as well as unnecessary messages in the support service.
Not to mention that you may have more important business messages that send a confirmation code for any operation in your system, for example, payments. Such messages will not only be negatively perceived by users, but will also deprive the business of money.
These are all not expedient things, which you don’t even need to delve into. A mailer without limits will solve everything.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question