在config_inc.php中,增加以下信息,经过在v1.2.17版本中测试,可以生效。
$g_use_phpMailer = ON;
$g_phpMailer_method= PHPMAILER_METHOD_SMTP; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host= ‘smtp.163.com’;# used with PHPMAILER_METHOD_SMTP
$g_smtp_port = 25;
$g_smtp_username= ‘mantis_org_cn@163.com’;# used with PHPMAILER_METHOD_SMTP
$g_smtp_password= ‘******”;# used with PHPMAILER_METHOD_SMTP
$g_administrator_email = ‘mantis_org_cn@163.com’;
$g_webmaster_email = ‘mantis_org_cn@163.com’;
$g_from_email = ‘mantis_org_cn@163.com’;# the “From: ” field in emails