Centos6.5 Mantis 1.2.19版本郵件設置

一.讀取順序
config_defaults_inc.php
config_inc.php


二.config_defaults_inc.php 中郵件設置

$g_administrator_email = '[email protected]';
$g_webmaster_email = '[email protected]';
$g_from_email = '[email protected]';
$g_from_name = 'Mantis Bug Tracker';
$g_return_path_email = '[email protected]';

$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.163.com';
$g_smtp_username = '[email protected]';
$g_smtp_password = 'test7033';

三.config_inc.php 中的郵件設置
因爲我的config_inc.php 是拷貝的config_inc.php.sample 作爲模板所以郵件按照以下配置進行。
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.163.com';
$g_smtp_username = '[email protected]';
$g_smtp_password = 'test7033';
$g_administrator_email = '[email protected]';
$g_webmaster_email = '[email protected]';
$g_from_email = '[email protected]';
$g_return_path_email = '[email protected]';

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章