已解决
3.1邮件问题
通过直接修改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
}
看来看去 ,配置也没看出啥问题来,可邮件就是不成功。 也没错误提示。
提问者: 钟海镔 悬赏:10 日期: 2012-05-11 14:15:11 答案:1 点击:2611
获取技术支持
QQ:
2679672214电话:
17663982076
答案列表
最佳答案
王春生
2012/05/11
不会给自己发信的。这个要注意下。
回复
|