Details
-
Improvement
-
Resolution: Fixed
-
Major
-
6.4-milestone-3
-
None
Description
In order to not be considered a spammer by some mail servers. The idea is to have 2 config parameters:
/**
* @return the number of mails to send before waiting {@link #getPacketDelay()} milliseconds before starting the
* next packet. Used to implement email Throttling.
*/
int getPacketSize();
/**
* @return the delay in milliseconds to wait between each packet of {@link #getPacketSize()} mails sent before
* starting the next packet. Used to implement email Throttling.
*/
long getPacketDelay();