How to send mail using Tmail?
I went though the Tmail cl开发者_开发问答ass but i dont how to load a template. can any body provide me a sample example...
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.
精彩评论