51Testing软件测试论坛

标题: mantis注册用户发送邮件收不到的问题.急 [打印本页]

作者: zw261432300    时间: 2011-1-20 09:27
标题: mantis注册用户发送邮件收不到的问题.急
我用的是xampp+mysplcc+mantis+jpgraph安装的mantis,所有的都配置好了,但是注册用户不能收到邮件.还有我们公司的邮件服务器是托管的,和这个有关吗
        # --- email variables -------------
        $g_administrator_email        = 'XXXX@XXXX.com';                                         ==>本人公司邮箱
        $g_webmaster_email                = 'XXXX@XXXX.com';                         ==>本人公司邮箱


        $g_from_email                        = 'XXXX@XXXX.com';                          ==>本人公司邮箱

       
        $g_from_name                        = 'Mantis Bug Tracker';                     

        $g_return_path_email        = 'XXXX@XXXX.com';                                           ==>本人公司邮箱

           $g_enable_email_notification        = ON;

       
        $g_default_notify_flags        = array('reporter'        => ON,
                                  'handler'        => ON,
                                  'monitor'        => ON,
                                  'bugnotes'        => ON,
                                  'threshold_min'        => NOBODY,
                                  'threshold_max'             => NOBODY);         
        $g_notify_flags['new']        = array('bugnotes'        => OFF,
                                        'monitor'        => OFF);

        $g_email_receive_own        = OFF;

        $g_validate_email                = ( substr( php_uname(), 0, 7 ) == 'Windows' ) ? OFF : ON;
        $g_check_mx_record                = OFF;        # Not supported under Windows.

        $g_allow_blank_email        = OFF;

        $g_limit_email_domain        = OFF;

        $g_show_user_email_threshold = NOBODY;

        $g_mail_priority                = 3;

        $g_phpMailer_method                = 0;

        $g_smtp_host                        = 'smtp.aikang-medical.com';

        $g_smtp_username = 'XXXX';                                                            ==>邮箱账户       
                $g_smtp_password = 'XXXXX';                                                          ==>邮箱密码       
               
                $g_email_send_using_cronjob = OFF;

        $g_email_set_category                = OFF;

        # --- email separator and padding ------------
        $g_email_separator1                = str_pad('', 70, '=');
        $g_email_separator2                = str_pad('', 70, '-');
        $g_email_padding_length        = 28;
作者: archonwang    时间: 2011-1-28 15:10
看下服务器日志,看是不是有报错。
作者: zhangting160    时间: 2011-6-15 18:31
解决没有啊?
作者: 千里    时间: 2011-6-30 06:28
$g_mail_priority                = 3;
查一查注释,3是否为SMTP。
确认一下你公司邮箱是否支持SMTP。




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