protected function _processViewArray()
    {
        $smarty = $this->_getSmarty();
        $outputProcessor = oxNew(\OxidEsales\Eshop\Core\Output::class);

        // processing all view data
        foreach ($this->_aViewData as $key => $value) {
            $smarty->assign($key, $value);
        }

        // processing assigned smarty variables
        $newSmartyArray = $outputProcessor->processViewArray($smarty->get_template_vars(), "oxemail");

        foreach ($newSmartyArray as $key => $val) {
            $smarty->assign($key, $val);
        }
    }