21288 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 646 Views |
-
populateTemplate doesn't correct with SS 2.3 version

28 May 2009 at 8:00pm
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();
} -
Re: populateTemplate doesn't correct with SS 2.3 version

29 January 2010 at 1:43am
I think that populate data goes before send..
| 646 Views | ||
|
Page:
1
|
Go to Top |

