通知功能
1069

3.1邮件问题已解决悬赏10积分

提问者钟海镔答案数1阅读数2931发表时间2012-05-11 14:15:11
通过直接修改module/mail/ext/config/config.php

<?php
$config->mail->turnon         = true;   // trun on email feature or not.
$config->mail->fromAddress    = 'xxxx@ixxxexx.cn';      // The from address.
$config->mail->fromName       = 'PmSystem';      // The from name.
$config->mail->mta            = 'smtp'; // phpmail|sendmail|smtp|gmail

/* SMTP settings. */
if($config->mail->mta == 'smtp')
{
    $config->mail->smtp->debug    = 2;          // Debug level, 0,1,2.
    $config->mail->smtp->auth     = true;       // Need auth or not.
    $config->mail->smtp->host     = 'smtp.ym.163.com';         // The smtp server host address.
    $config->mail->smtp->port     = '25';         // The smtp server host port.
    $config->mail->smtp->secure   = '';         // The type to encode datas, 'ssl' or 'tls' allowed
    $config->mail->smtp->username = 'xxx@ixxx.xxx';         // The smtp user, may be a full email adress.

    $config->mail->smtp->password = 'xx';         // The smtp user's password.

}
/* Gmail setting. */
elseif($config->mail->mta == 'gmail')
{
    $config->mail->gmail->debug      = 0;       // Debug level, 0,1,2.
    $config->mail->gmail->username   = "";      // GMAIL username
    $config->mail->gmail->password   = "";      // GMAIL password
}
看来看去 ,配置也没看出啥问题来,可邮件就是不成功。 也没错误提示。

禅道版本:3.1

安装包类型:源码包

操作系统:CentOS

客户端浏览器:Firefox

设置备注
内容
答案列表
🍟
2012/05/11 最佳答案
不会给自己发信的。这个要注意下。
联系我们
联系人
刘璐/高级客户经理
电话(微信)
18562550650
QQ号码
2845263372
联系邮箱
liulu@chandao.com
其他相关问答
提问者: tiensin 于 2017-06-153478次浏览,1个答案
提问者: udt 于 2011-11-233544次浏览,2个答案
37582
已解决
悬赏5积分
提问者: may1 于 2020-10-281187次浏览,1个答案
提问者: mandy0122 于 2015-10-095555次浏览,1个答案
提问者: dongchangli 于 2017-07-172137次浏览,1个答案
返回顶部
客服头像
刘璐
高级客户经理
客服微信
18562550650
2845263372
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。问题反馈反馈点击这里,让我们聆听您的建议与反馈。