Hi boys and girls ;-)

I am trying to send the "forgot password"-mail via the backend. I have implemented a button and a function to my extended User_Main Controller.

    public function sendPasswordReminder()
    {
        $oEmail = new oxEmail();
        $oEmail->setShop(oxRegistry::getConfig()->getActiveShop());
        $oEmail->sendForgotPwdEmail($this->getUser()
                ->getFieldData('oxusername'));
    }

But if the mail is sent, it tells me that smarty cant find the template. The mails contains:

Warning: Smarty error: unable to read resource: "email/html/forgotpwd.tpl" in /home/3m.dev/public_html/core/smarty/Smarty.class.php on line 1093


If i try sending the forgot-pw-mail via frontend, everything looks fine.

Please advise! :)
--
Greets Roman
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to