首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 和发送电子邮件的Smarty的设计

和发送电子邮件的Smarty的设计

  • 资源大小:3.41 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Smarty 发送 设计 电子邮件

资 源 简 介

SmartyMailer class Create beautiful mails using Smarty Design them with standard CSS stylesheets SmartyMailer will convert your CSS to inline styles for correct rendering into e-mail clients Example Usage : Displaying : $SmartyMailer = new SmartyMailer(); $SmartyMailer -> SetTemplateFile("MyTemplate.tpl") // Smarty template $SmartyMailer -> SetCssFile("MyStyles.css") // Css styles $SmartyMailer -> Assign("FirstName", "Ben") // Smarty variable assignments (you can use any Smarty method) $SmartyMailer -> Process() -> ShowOutput() // Processes and displays the result Sending : $SmartyMailer -> SetSender("from@example.com") // Set email"s sender $SmartyMailer -> SetRecipient("to@example.com") // Set email"s recipient $SmartyMailer -> SetSubject("Hello {$FirstName}") // Set email"s subject (can be a Smarty s

文 件 列 表

SmartyMailer.class.php
VIP VIP
0.211013s