通知功能
1001邮件设置后没有收到邮件是为什么?需要其他的设置吗?已解决
邮件设置后没有收到邮件是为什么?需要其他的设置吗?已解决
悬赏10积分
提问者戴广久答案数1阅读数3507发表时间2012-04-11 09:14:05
我根据大家的提问回答,添加了mail\ext\config\config.php,内容如下。 <?php $config->mail->turnon = true; // trun on email feature or not. $config->mail->fromAddress = 'XXXXX@163.com'; // The from address. $config->mail->fromName = 'XXXX'; // 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.163.com'; // The smtp server host address. $config->mail->smtp->port = '25'; // The smtp server host port. $config->mail->smtp->secure = 'tls'; // The type to encode datas, 'ssl' or 'tls' allowed $config->mail->smtp->username = 'XXXXX@163.com'; // The smtp user, may be a full email adress. $config->mail->smtp->password = 'XXXXXX'; // 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 } 现在问题是,我新建了一个bug,可是指派人以及抄送人都收不到邮件,为什么呢? 还出现,当只有指派人的时候,点击“保存”的时候,直接就保存了。 当含有抄送人的时候,点击“保存”的时候会出现稍候……,然后就一直停在那里不动了。 请问高人们是什么情况?
/* 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.163.com'; // The smtp server host address. $config->mail->smtp->port = '25'; // The smtp server host port. $config->mail->smtp->secure = 'tls'; // The type to encode datas, 'ssl' or 'tls' allowed $config->mail->smtp->username = 'XXXXX@163.com'; // The smtp user, may be a full email adress. $config->mail->smtp->password = 'XXXXXX'; // 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 } 现在问题是,我新建了一个bug,可是指派人以及抄送人都收不到邮件,为什么呢? 还出现,当只有指派人的时候,点击“保存”的时候,直接就保存了。 当含有抄送人的时候,点击“保存”的时候会出现稍候……,然后就一直停在那里不动了。 请问高人们是什么情况?
禅道版本:3.0
安装包类型:Windows安装包
操作系统:Windows XP
客户端浏览器:Chrome
答案列表
🍟 25端口是不需要加密的。 btw,以后请不要重复提问。 |
联系我们
联系人
刘璐/高级客户经理
电话(微信)
18562550650
QQ号码
2845263372
联系邮箱
liulu@chandao.com

其他相关问答
提问者: azazazazaz 于 2013-03-124233次浏览,1个答案
提问者: m_66cc18b1c2722 于 2024-08-26405次浏览,1个答案
提问者: cuishouzhen 于 2016-11-011834次浏览,1个答案
提问者: gaoke123 于 2020-03-241488次浏览,1个答案
提问者: wugf0990 于 2018-10-192091次浏览,1个答案


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


