通知功能
1069

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

提问者钟海镔答案数1阅读数2959发表时间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 最佳答案
不会给自己发信的。这个要注意下。
联系我们
联系人
张淑钧/高级客户经理
电话(微信)
13156280939
QQ号码
2082428410
联系邮箱
zhangshujun@chandao.com
其他相关问答
提问者: cheyl 于 2010-12-285022次浏览,2个答案
提问者: hongwodan 于 2015-12-314953次浏览,1个答案
提问者: shuangshuang 于 2012-11-262925次浏览,0个答案
提问者: hjl774250827 于 2018-05-282458次浏览,1个答案
1760
已解决
悬赏10积分
提问者: shopping 于 2013-07-222451次浏览,1个答案
返回顶部
客服头像
张淑钧
高级客户经理
客服微信
13156280939
2082428410
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。问题反馈反馈点击这里,让我们聆听您的建议与反馈。
gtm跟踪器
gtag