public function set($handler_id, array $arguments)
    {
        try {
            $handlers = $this->getHandlers();
            $data = Handler::call($handlers, $handler_id, 'data', $arguments);
            return call_user_func_array(array($this, 'send'), $data);
        } catch (Exception $ex) {
            trigger_error($ex->getMessage());
            return false;
        }
    }
public function set($handler_id, array $arguments)
    {
        try {
            $handlers = $this->getHandlers();
            $data = Handler::call($handlers, $handler_id, 'data', $arguments);
            return call_user_func_array(array($this, 'send'), $data);
        } catch (Exception $ex) {
            trigger_error($ex->getMessage());
            return false;
        }
    }
public function set ( $ handler_id , array $ arguments ) { try { $ handlers = $ this -> getHandlers ( ) ; $ data = Handler :: call ( $ handlers , $ handler_id , 'data' , $ arguments ) ; return call_user_func_array ( array ( $ this , 'send' ) , $ data ) ; } catch ( Exception $ ex ) { trigger_error ( $ ex -> getMessage ( ) ) ; return false ; } }
Sends E-mail with predefined parameters using a handler ID
@param string $handler_id
@param array $arguments
@return boolean
Sends E - mail with predefined parameters using a handler ID