I went although the Tmail class, but I can not load the template. can any body provide me an example ...
Try the following:
$ mail = $ this-> add ('TMail'); $ Mail-> LoadTemplate ('test mail');
There is an article on the official atk4 website:
http://agiletoolkit.org/blog/tmail/
Sincerely.