记录Mantis配置
<?php $g_hostname = 'localhost'; $g_db_type = 'mysql'; $g_database_name = 'bugtracker'; $g_db_username = 'dbusername'; $g_db_password = 'dbpassword'; $g_enable_email_notification = ON ; $g_phpMailer_method = PHPMAILER_METHOD_SMTP; $g_administrator_email = 'bug@xxxx'; $g_webmaster_email = 'bug@xxxx'; $g_from_email = 'bug@xxxx'; $g_from_name = 'BUG'; $g_return_path_email = 'bug@xxxx'; $g_smtp_host = 'smtp.exmail.qq.com:25';//一定要加上端口 $g_smtp_username = 'bug@xxxx'; $g_smtp_password = 'password'; $g_default_language = 'chinese_simplified'; $g_fallback_language = 'chinese_simplified'; $g_email_receive_own = OFF; $g_email_send_using_cronjob = OFF; $g_show_realname = ON;//显示真实姓名 ?>