Property | Type | Description | |
---|---|---|---|
$_email | string | Target e-mail address. | |
$_format | string | E-mail format. | |
$_from_addr | string | Sending e-mail address. | |
$_mail | Horde_Mail_Transport | Mail transport. | |
$_opts | array | Additional options. | |
$_user | string | The reporting user. |
Method | Description | |
---|---|---|
__construct ( Horde_Mail_Transport $mail, string $email, string $from, string $user, string $format, array $opts = [] ) | Constructor. | |
report ( array $msgs, $action ) |
Method | Description | |
---|---|---|
_makeStream ( string | resource $val ) : Horde_Stream | Converts a string or resource into a Horde_Stream object. | |
_redirectMessage ( Horde_Stream $message ) | Sends a redirect (a/k/a resent) message. | |
_reportDigest ( array $messages, integer $action ) : integer | Builds and sends a digest message. |
public __construct ( Horde_Mail_Transport $mail, string $email, string $from, string $user, string $format, array $opts = [] ) | ||
Horde_Mail_Transport | The mail transport to use. | |
string | E-mail address to send reports to. | |
$from | string | E-mail address to send reports from. |
$user | string | A user name for information purposes. |
$format | string | E-mail format. Either 'redirect' or 'digest'. |
$opts | array | Additional options: - digest_limit_msgs: (integer) Maximum number of messages allowed in a digest. - digest_limit_size: (integer) Maximum size of a digest. |
protected _makeStream ( string | resource $val ) : Horde_Stream | ||
$val | string | resource | Some content. |
return | Horde_Stream | A Horde_Stream object with the content. |
protected _redirectMessage ( Horde_Stream $message ) | ||
$message | Horde_Stream | Message content. |
protected string $_from_addr | ||
return | string |
protected Horde_Mail_Transport $_mail | ||
return | Horde_Mail_Transport |