Class Swift_Plugins_Reporters_HitReporter
Inheritance | Swift_Plugins_Reporters_HitReporter |
---|---|
Implements | Swift_Plugins_Reporter |
A reporter which "collects" failures for the Reporter plugin.
Public Methods
Method | Description | Defined By |
---|---|---|
clear() | Clear the buffer (empty the list). | Swift_Plugins_Reporters_HitReporter |
getFailedRecipients() | Get an array of addresses for which delivery failed. | Swift_Plugins_Reporters_HitReporter |
notify() | Notifies this ReportNotifier that $address failed or succeeded. | Swift_Plugins_Reporters_HitReporter |
Method Details
Clear the buffer (empty the list).
public void clear ( ) |
Get an array of addresses for which delivery failed.
public array getFailedRecipients ( ) |
Notifies this ReportNotifier that $address failed or succeeded.
public void notify ( Swift_Mime_Message $message, $address, $result ) | ||
$message | Swift_Mime_Message | |
$address | string | |
$result | int | From {@link RESULT_PASS, RESULT_FAIL} |