用CI email发送, 打印出错误是这样的,
Unable to send email using PHP mail(). Your server might not be configured to send mail using this method. 用phpmailer服务器不支持这个方法。 baiyuxiong 发表于 2012-1-31 00:41 static/image/common/back.gif
用phpmailer
服务器不支持这个方法。
如何让服务器支持这方法, 一定要用phpmailer 吗, 没有其他办法了吗 有木有高手帮一把啊 protocol 换一下,参考
http://codeigniter.org.cn/user_guide/libraries/email.html Hex 发表于 2012-1-31 17:36 static/image/common/back.gif
protocol 换一下,参考
http://codeigniter.org.cn/user_guide/libraries/email.html
换成sendmail 也出错 还多了两句
Exit status code: 1
Unable to open a socket to Sendmail. Please check settings.
Unable to send email using PHP Sendmail. Your server might not be configured to send mail using this method. zionwang 发表于 2012-1-31 18:28 static/image/common/back.gif
换成sendmail 也出错 还多了两句
Exit status code: 1
Unable to open a socket to Sendmail. Please che ...
估计你的只能用 smtp,你服务器没装这些东西,sendmail 是一个linux下的程序,要在服务器安装才能用。 Hex 发表于 2012-1-31 18:30 static/image/common/back.gif
估计你的只能用 smtp,你服务器没装这些东西,sendmail 是一个linux下的程序,要在服务器安装才能用。 ...
如果用了smtp那么不会出错, 但浏览器好像死循环一样就卡在哪, 也不报错, zionwang 发表于 2012-1-31 18:34 static/image/common/back.gif
如果用了smtp那么不会出错, 但浏览器好像死循环一样就卡在哪, 也不报错, ...
那是在连接 smtp 服务器,可能这个服务器连不上。
如果不行就用第三方类库吧。
页:
[1]