it works fine for me. here it is an extract:
$user =& new User();
$user->email = 'nice_person@hotmail.com';
Ak::import_mailer('notifier');
$Notifier = new Notifier();
$Notifier->deliver('welcomemail', $user);
class Notifier extends AkActionMailer
{
function welcomemail($User){
$this->set(array(
'recipients' => $User->email,
'from' => 'accounts@example.com',
'subject' => 'Thank you for registering with our website',
'body' => array( 'User' => $User )
));
}
}
and you can use sintags or just text in the template, so this should work ok.
1 to 8 of 8