Hi again,
i used execution container to get rendered email output. With
translation and replacements of key value pairs.
This is how i made:
$e = new AgaviExecutionContainer();
$e->initialize($this->context);
$e->setRequestData($rd_new_with_key_value_pairs_for_replacements_in_tpl);
$e->setOutputType($this->container->getOutputType());
$e->setActionName('Auth.ForgotPass');
$e->setModuleName('Mailer');
$html = $e->execute();
$html = $e->getResponse()->getContent();
// print_r_($html);
this code is ok for development or this code isnt very clear/redundant?
Thanks.
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users