在codeigniter的helper用phpmailer 发送邮件
首先下载phpmailer
http://sourceforge.net/projects/phpmailer/files/phpmailer%20for%20php5_6/PHPMailer%20v5.1/,
解压缩后放到codeigniter的根目录吧,方便引用
然后在helper文件里 写入如下函数
function send_mail($to,$title,$body)
{
$
原创
2012-07-03 13:28:05 ·
2396 阅读 ·
0 评论