Class Swift_Plugins_AntiFloodPlugin
Reduces network flooding when sending large amounts of mail.
- Swift_Plugins_AntiFloodPlugin implements Swift_Events_SendListener, Swift_Plugins_Sleeper
Package: Swift\Plugins
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Plugins/AntiFloodPlugin.php
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Plugins/AntiFloodPlugin.php
Methods summary
public
|
#
__construct( integer $threshold = 99, integer $sleep = 0,
Create a new AntiFloodPlugin with $threshold and $sleep time. |
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
|
#
beforeSendPerformed(
Invoked immediately before the Message is sent. |
public
|
|
public
|
Magic methods summary
Properties summary
private
integer
|
$_threshold |
#
The number of emails to send before restarting Transport. |
private
integer
|
$_sleep |
#
The number of seconds to sleep for during a restart. |
private
integer
|
$_counter |
#
The internal counter. |
private
|
$_sleeper |
#
The Sleeper instance for sleeping. |