SAE上安装的ZenTaoPMS如何配置Email发送呢?已解决 悬赏20积分
是直接修改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
🍟 将debug打开,比如设成2,看有什么报错。估计是参数不对。
回复
|