通知功能
1069
3.1邮件问题已解决 悬赏10积分
提问者钟海镔
答案数1
阅读数2713
发表时间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
答案列表
🍟 不会给自己发信的。这个要注意下。
回复
|
联系我们
联系人
魏中显/高级客户经理
电话(微信)
18561939726
QQ号码
1746749398
联系邮箱
weizhongxian@chandao.com