通知功能
10693.1邮件问题已解决
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.
/* 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
}
看来看去 ,配置也没看出啥问题来,可邮件就是不成功。 也没错误提示。
<?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
答案列表
🍟 不会给自己发信的。这个要注意下。 |
联系我们
联系人
张淑钧/高级客户经理
电话(微信)
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个答案
提问者: shopping 于 2013-07-222451次浏览,1个答案



精品资料包
1V1产品演示
免费试用增强功能
专属顾问答疑支持


