|
我们公司的mantis一直是可以给企业内部邮箱发送邮件的,我现在想改成不仅可以向企业内部邮箱发送邮件,还可以向外网邮箱发送邮件的,该如何更改?
config_inc.php配置如下:
# --- database variables ---------
# set these values to match your setup
$g_hostname = "localhost";
$g_db_username = "root";
$g_db_password = "密码";
$g_database_name = "mantis";
$g_db_type = "mysql";
$g_path = "http://10.90.10.140/bugtrack/";
$g_icon_path = $g_path."images/";
$g_absolute_path = "/var/www/mantis/";
$g_use_iis = OFF;
$g_show_version = ON;
# --- email variables -------------
$g_administrator_email = '我的内网邮箱地址';
$g_webmaster_email = '我的内网邮箱地址';
$g_phpMailer_method = 2;
$g_smtp_host = '10.90.0.7'; ——邮件服务器,我们收发邮件就是这个服务器
$g_smtp_username = 'BugTrackSys';
# the "From: " field in emails
$g_from_email = 'noreply@×××××.com';
# the return address for bounced mail
$g_return_path_email = 'admin@example.com'; |
|