Source for file observer_mail.php
Documentation is available at observer_mail.php
require_once 'Log/observer.php';
/* Call the base class constructor. */
/* Configure the observer. */
$this->_to = $conf['to'];
$this->_subject = $conf['subject'];
$this->_pattern = $conf['pattern'];
if (preg_match($this->_pattern, $event['message']) != 0 ) {
mail($this->_to, $this->_subject, $event['message']);
Documentation generated on Mon, 11 Mar 2019 14:42:40 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|