\Ingo_Script_Sieve_Action_Notify

The Ingo_Script_Sieve_Action_Notify class represents a notify action.

It supports both enotify (RFC 5435) and the older, deprecated notify (draft-martin-sieve-notify-01) capabilities.

Summary

Methods
Properties
Constants
check()
requires()
__construct()
generate()
No public properties found
No constants found
No protected methods found
$_vars
N/A
No private methods found
No private properties found
N/A

Properties

$_vars

$_vars : array

Any necessary action parameters.

Type

array

Methods

check()

check() : boolean|string

Checks if the rule parameters are valid.

Returns

boolean|string —

True if this rule is valid, an error message otherwise.

requires()

requires() : array

Returns a list of sieve extensions required for this rule and any sub-rules.

Returns

array —

A Sieve extension list.

__construct()

__construct(array  $vars = array()) 

Constructor.

Parameters

array $vars

Required parameters:

  • address: (string) Address.
  • name: (string) Name.
  • notify: (boolean) If set, use notify instead of enotify.

generate()

generate() : string

Returns a script snippet representing this rule and any sub-rules.

Returns

string —

A Sieve script snippet.