public function processOutput($output, $renderer)
    {
        $output = parent::processOutput($output, $renderer);

        $c = Kwf_Component_Data_Root::getInstance()->getComponentById($this->_componentId);
        $recipient = $c->getComponent()->getRecipient();
        $redirectComponent = $c->getChildComponent('_redirect');
        if ($redirectComponent && $recipient) {
            $redirectComponent = $redirectComponent->getComponent();
            $output = $redirectComponent->replaceLinks($output, $recipient, 'html');
        }
        return $output;
    }
public function processOutput($output, $renderer)
    {
        $output = parent::processOutput($output, $renderer);

        $c = Kwf_Component_Data_Root::getInstance()->getComponentById($this->_componentId);
        $recipient = $c->getComponent()->getRecipient();
        $redirectComponent = $c->getChildComponent('_redirect');
        if ($redirectComponent && $recipient) {
            $redirectComponent = $redirectComponent->getComponent();
            $output = $redirectComponent->replaceLinks($output, $recipient, 'html');
        }
        return $output;
    }
public function processOutput ( $ output , $ renderer ) { $ output = parent :: processOutput ( $ output , $ renderer ) ; $ c = Kwf_Component_Data_Root :: getInstance ( ) -> getComponentById ( $ this -> _componentId ) ; $ recipient = $ c -> getComponent ( ) -> getRecipient ( ) ; $ redirectComponent = $ c -> getChildComponent ( '_redirect' ) ; if ( $ redirectComponent && $ recipient ) { $ redirectComponent = $ redirectComponent -> getComponent ( ) ; $ output = $ redirectComponent -> replaceLinks ( $ output , $ recipient , 'html' ) ; } return $ output ; }
recipient is set when showing mail in browser, not when sending mail
recipient is set when showing mail in browser not when sending mail