Mantisbt中邮件服务器的配置
在Mantis中注册新用户时,会给你指定的邮箱发一封邮件,点开邮件中的链接才可以设定密码,因此需要给Mantis添加邮件功能。
使用phpmailer作为邮件服务器,首先下载phpmailer,网址为:http://phpmailer.codeworxtech.com,下载完后解压到c:/phpmailer。 修改C:/mantis-1.1.4/config_inc.php,添加以下内容:
$g_smtp_host = 'smtp.163.com';
$g_smtp_username = 'xxx';
$g_smtp_password = '123456';
$g_use_phpMailer = ON;
$g_phpMailer_path = 'c:/phpmailer/';
$g_phpMailer_method = 2;
$g_return_path_email = 'xxx@163.com'
把其中的内容修改为你自己的邮箱信息就可以了,赶紧点击修改密码,试一试能不能收邮件吧~