开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜