已解决 SAE上安装的ZenTaoPMS如何配置Email发送呢?

是直接修改module/email/config.php么?还是修改../../ext/config/config.php或sae.php ?

我现在各种改都发不出邮件,具体是这么写的:

<?php
$config->mail->turnon      = true;    // trun on email feature or not.
$config->mail->fromAddress = '***@gmail.com';       // The from address.
$config->mail->fromName    = 'Damon.Wang';  // The from name.
$config->mail->mta         = 'smtp';   // smtp|phpmail.

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

禅道版本 3.3
操作系统 Other
客户端浏览器 IE8

提问者: 王为 悬赏:20 日期: 2012-10-20 12:42:19 答案:1 点击:2892

获取技术支持

QQ: 电话:
设置备注
答案列表
最佳答案
2012/10/22
将debug打开,比如设成2,看有什么报错。估计是参数不对。