51Testing软件测试论坛

标题: mantis申请新用户后没有收到激活邮件!!!!!!急 [打印本页]

作者: dolphin_lala    时间: 2009-5-5 16:43
标题: mantis申请新用户后没有收到激活邮件!!!!!!急
请问各位大虾,我用的是easyphp3.0+mantisbt-1.2.0a3,在设置邮件时我修改了“C:\Program Files\EasyPHP 3.0\apache\conf”下的httpd.conf文件,修改的内容是:
ServerAdmin test@###.com.cn  ("###"是公司的邮箱名)
还有“C:\Program Files\EasyPHP 3.0\www\mantis”下的config_inc.php,此文件中修改完后的全部内容是:
<?php
        $g_hostname = 'localhost';
        $g_db_type = 'mysql';
        $g_database_name = 'bugtracker';
        $g_db_username = 'root';
        $g_db_password = 'mysql';
        $g_default_language = 'auto';
        $g_enable_email_notification = ON;
        $g_smtp_host = 'mail.###.com.cn';    -----> 公司邮箱用的就是这个服务器
        $g_smtp_username = 'test';
        $g_smtp_password = '123456789';
        $g_use_phpMailer = ON;
        $g_phpMailer_path = 'C:\Program Files\EasyPHP 3.0\www\mantis\core\phpmailer';
        $g_phpmailer_method =2;
        $g_administrator_email = 'test@###.com.cn ';
        $g_webmaster_email = 'test@###.com.cn ;
        $g_from_email = 'test@###.com.cn ;
        $g_return_path_email = 'test@###.com.cn ';

# ---time settings----
        $g_short_date_format = 'Y-m-d';
        $g_normal_date_format = 'Y-m-d H:i';
        $g_complete_date_format = 'Y-m-d H:i';

?>


这样设置完后重启了apache,然后进入登录页面,选择注册一个新帐号,用公司另外一个同事的公司内部邮箱申请的,但是就是收不到确认信,导致没有办法激活帐号:(
拜托各位“仙人”帮忙看看吧。谢谢了!

[ 本帖最后由 dolphin_lala 于 2009-5-5 16:46 编辑 ]
作者: dolphin_lala    时间: 2009-5-5 16:49
现在mantis里面就只有一个administrator的用户,没人可以管理啊!!!:(
作者: 铁风    时间: 2009-5-6 10:37
我也碰到这个问题。
发送邮件的时候没提示出错
但就是收不到邮件
在mantis/admin/check.php页面测试邮件发送时都是失败:
Testing Mail - PROBLEMS SENDING MAIL TO: xxxxx@163.com. Please check your php/mail server settings.

Email Address: xxxxx@163.com
昨天弄了一整天,还是不行,在网上查了很多资料,配置方法不尽相同,有些说要添加下面两句:
$g_use_phpMailer = ON;
$g_phpMailer_path = 'C:\core\phpmailer';
还要修改php.ini文件,修改PATH什么的。

还有的就只说了修改config_inc.php。
我试了N种方法,要抓狂了…………
作者: 铁风    时间: 2009-5-7 14:43
终于配置好了
我开始用的是163的邮箱怎么配置都不行
后来用sina的就可以了,注意先在OUTLOOK上设置好能接发邮件,然后再配置mantis的邮件服务
还有必须先登录sina邮箱,在邮箱设置里面开启POP/SMTP服务,一个复选框,勾上就行了
作者: klyl    时间: 2009-7-2 00:37
标题: mantis邮箱
我之前的情况是发送不报错,看起来一切正常,但就是收不到。
apache设置,php.ini,config_inc.php都改了,还是不行。后来才发现居然是杀毒软件在作怪,把杀毒工具的“电子邮件自动防护” 关掉,之前发的几封都收到了
作者: peipeiup    时间: 2010-3-9 17:10
我也是啊。都快要崩溃了。
作者: hamson    时间: 2011-1-5 14:31
我也是啊,现在就是收不到邮件呢,好烦啊
作者: hamson    时间: 2011-1-5 14:35
谁能指导一下mantis 邮件配置的问题啊




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2