Extended E-mail delivery (for the script i-soft)

The main function of this module is the ability to do dosylka letters despite the limitations of the script directory, hosting, processing time scripts and so on.

By default, sending the script, with a large number of messages sent, do not allow you to send all the letters at once. This limitation is primarily due to the limitations of hosting and processing time of the script. Frequently hosting provider restricts sending such letters to 50 letters per hour, or 500 emails a day. Among other things, when you send a large number of emails or hosting server may not have enough time to process (eg sending 100 letters at a time may take more than 30 seconds, the time to process php scripts often less than 30 seconds). Also, when sending a large number of mass emails at once, it is easier to get into the spam list. It turns out that the sending of letters can affect not very positive, and above all not be possible due to these restrictions.
This problem is solved this fashion.
Firstly, it allows dootpravlyat not previously sent letter.
Second, they indicate the amount and period. (Report module formed required)
Now, specifying the number of letters, and time can be distributed between the load and the other restrictions. For example, if you have a limit of 50 letters per hour, you can set the "Do not send more than 5 mails within 600 seconds." Then for an hour will be sent 30 letters + 20 more reserve, in case of registration in the catalog, password recovery, sending emails, and other users of directory services. Accordingly, if you do e-mail to the entire catalog, and the catalog entry in the thousands and tens of thousands, and sometimes more, such an approach will be made by sending to all recipients, including any potential limitations.