摘要: 在服务器安装 sendmailsudo apt-get install sendmail启动 sendmailsudo /etc/init.d/sendmail start修改 php.ini[mail function]SMTP = localhostsmtp_port = 25sendmail_from = me@example.comFunction sendMailIsSMTP(); // 经smtp发送 //$mail->Host = "smtp.gmail.com"; // SMTP 服务器 //$mail->Port = 465; ... 阅读全文
posted @ 2013-03-17 16:34 傲雪星枫 阅读(232) 评论(0) 推荐(0) 编辑