打开mantis地下的config_inc.php.samp文件。一样的改名为config_inc.php。其实就是config_default_inc.php内容的缩短版,具体可以先看deafult里面的内容。

# --- email variables -------------
$g_use_phpMailer = ON; #使用phpMailer
$g_phpMailer_path = 'C:/EasyPHP 2.0b1/php5/phpmailer' ; //phpMailer路径(因为用的是xampp安装,所以默认不
需要在装个右键发送的,直接写邮箱的设置就可以)
$g_phpMailer_method = 2 ; #使用SMTP服务
$g_smtp_host = 'smtp.163.com' ; #使用SMTP服务
$g_smtp_username = 'test' ;
$g_smtp_password = 'XXXXXX' ;
$g_administrator_email = 'test@163.com' ;
$g_webmaster_email = 'test@163.com' ;
$g_from_email = 'test@163.com' ;
$g_return_path_email = 'test@163.com' ;