已解决 为什么还是无法发送邮件?

积分不够,所以只能是修改配置文件了。zentao\module\mail\ext\config\config.php

    $config->mail->smtp->debug    = 2;          // Debug level, 0,1,2.
    $config->mail->smtp->auth     = true;       // Need auth or not.
    $config->mail->smtp->host     = 'smtp.126.com';         // The smtp server host address.
    $config->mail->smtp->port     = '25';         // The smtp server host port.
    $config->mail->smtp->secure   = 'ssl';         // The type to encode datas, 'ssl' or 'tls' allowed
    $config->mail->smtp->username = 'wjjjwjjj@126.com';         // The smtp user, may be a full email adress.
    $config->mail->smtp->password = '******';         // The smtp user's password.

 

但是还是提醒无法连接到smtp主机,什么域名、防火墙的,我防火墙是关了的。

 

这个到底什么情况?急着,下午要使用了,谢谢。

禅道版本 3.1
操作系统 Windows XP
客户端浏览器 IE8

提问者: 秦先生 悬赏:10 日期: 2012-05-09 09:21:47 答案:1 点击:2248

获取技术支持

QQ:1481227768电话:17663906485
设置备注
答案列表
2012/05/09
25端口是不需要ssl的。那个置空就好了。