Hi!
I create forms to sent mail. I use Email_Template() to send mail.
Mail arrive to destination but is empty. I don't see data in fomr and subject.
With last version 2.2 nothig problem Why?
function doSendMail($data, $form)
{
$e = new Email_Template();
$e->From = "xx@xx.it";
$e->To = "xxi@xx.it";
$e->populateTemplate($data);
$e->Subject = "Hi there";
$e->Body = "I just really wanted to email you and say hi.";*/
$e->send();
$form->sessionMessage('xxxxxxx!');
Director::redirectBack();
}