3

I went though the Tmail class but i dont how to load a template. can any body provide me a sample example...

1 Answers1

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.