I went though the Tmail class but i dont how to load a template. can any body provide me a sample example...
Asked
Active
Viewed 403 times
3
-
TMail is an email handler library for Ruby, not PHP. – Anne May 02 '11 at 09:32
-
It's also class in Agile Toolkit http://agiletoolkit.org – romaninsh May 02 '11 at 18:52
1 Answers
2
Try this:
$mail=$this->add('TMail'); $mail->loadTemplate('test-mail');
There is an article in the official site of atk4:
http://agiletoolkit.org/blog/tmail/
Best regards.

Mariano Montañez Ureta
- 1,146
- 11
- 21