Answer the question
In order to leave comments, you need to log in
How to limit mail messages?
Good evening!
There is such a problem. The maximum number of letters sent via the smtp server is no more than 100 letters per hour, no more than 1000 letters per day. The size of one letter is limited to 50 MB. The letter must have no more than 100 recipients. It is necessary to check all these parameters before sending, and if the limit is exceeded, give an error. If the limit is only on the number of letters per day and hour - postpone and continue after a certain time.
Can you tell me how to implement it better? Where to store data on the number of letters per hour and day?
Answer the question
In order to leave comments, you need to log in
Where to store data
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question