请问,各位,我的网站出现这个,怎么解决啊?

我的网站一点击注册就出现这个。。SMTP Error: Could not authenticate. 请问各位大哥,这是什么原因恩?怎么解决啊,谢谢啊

mail()函数被禁用,所以只能找相关的插件来解决。这个大部分是由于服务端口被限制出现的,屏蔽不解决可以直接配置smtp即可。如果要解决这个问题的话需要修改文件:
includes/class.smtp.php 文件
把 @fsockopen 改成 @pfsockopen
$this->smtp_conn = @fsockopen(
$host, // the host of the server
$port, // the port to use
$errno, // error number if any
$errstr, // error message if any
$tval); // give up after ? secs
// verify we connected properly
改成
$this->smtp_conn = @pfsockopen(
$host, // the host of the server
$port, // the port to use
$errno, // error number if any
$errstr, // error message if any
$tval); // give up after ? secs
// verify we connected properly