Свойство | Type | Description | |
---|---|---|---|
$_params | array | Hash containing configuration parameters. |
Méthode | Description | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
__get ( $name ) | ||
favouriteRecipients ( integer $limit, mixed $filter = null ) : array | Returns the favourite recipients. | |
gc ( ) | Garbage collect log entries. | |
log ( integer $action, string $message_id, string | array $recipients, boolean $success = true ) | Logs an attempt to send a message. | |
numberOfRecipients ( integer $hours, boolean $user = false ) : integer | Returns the number of recipients within a certain time period. |
Méthode | Description | |
---|---|---|
_deleteOldEntries ( integer $before ) | Deletes all log entries older than a certain date. | |
_log ( integer $action, string $message_id, string $recipient, boolean $success ) | Logs an attempt to send a message per recipient. |
public __construct ( array $params = [] ) | ||
$params | array | Configuration parameters the driver needs. |
abstract protected _deleteOldEntries ( integer $before ) | ||
$before | integer | Unix timestamp before that all log entries should be deleted. |
public log ( integer $action, string $message_id, string | array $recipients, boolean $success = true ) | ||
$action | integer | Why the message was sent (IMP_Sentmail constant). |
$message_id | string | The Message-ID. |
$recipients | string | array | The list of message recipients. |
$success | boolean | Whether the attempt was successful. |
protected array $_params | ||
Résultat | array |