您的位置:軟件測試 > 開源軟件測試 > 開源Bug管理工具 > BugFree
BugFree郵件配置
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時間:[ 2014/1/7 15:05:35 ] 推薦標(biāo)簽:bugfree 郵件

bugfree安裝好之后,對于郵箱發(fā)送功能,要設(shè)置一下郵件服務(wù)器。具體找到配置文件,在bugfree/include/config.inc.php


找到這幾行代碼:
 view plaincopy to clipboardprint?
/* 8. Mail setting. */
$_CFG['Mail']['On']          = true;//開啟郵箱服務(wù) 
$_CFG['Mail']['FromAddress'] = "bugfree@{$_SERVER['SERVER_NAME']}";//發(fā)送郵件的郵箱地址。 
$_CFG['Mail']['FromName']    = 'BugFree';//發(fā)送郵件名,不一定是郵箱地址的用戶名 
$_CFG['Mail']['ReportTo']    = array();  // Where bug statistics message sened to. If empty, to all users. 
$_CFG['Mail']['SendMethod']  = 'SMTP';   // MAIL|SENDMAIL|SMTP|QMAIL 
 
/* 9. SMTP param setting. */
$_CFG['Mail']['SendParam']['Host']     = '';       // The server to connect. Default is localhost。這里是指的郵件服務(wù)器,如果你安裝bugfree上沒有郵件服務(wù)器,可以使用其他郵件服務(wù)器,比如163,地址即為stmp.163.com 
$_CFG['Mail']['SendParam']['SMTPAuth'] = false;    // Whether or not to use SMTP authentication. Default is FALSE。這里要改成true 
$_CFG['Mail']['SendParam']['Username'] = '';       // The username to use for SMTP authentication.//用戶名 
$_CFG['Mail']['SendParam']['Password'] = '';       // The password to use for SMTP authentication.//密碼
/* 8. Mail setting. */
$_CFG['Mail']['On']          = true;//開啟郵箱服務(wù)
$_CFG['Mail']['FromAddress'] = "bugfree@{$_SERVER['SERVER_NAME']}";//發(fā)送郵件的郵箱地址。
$_CFG['Mail']['FromName']    = 'BugFree';//發(fā)送郵件名,不一定是郵箱地址的用戶名
$_CFG['Mail']['ReportTo']    = array();  // Where bug statistics message sened to. If empty, to all users.
$_CFG['Mail']['SendMethod']  = 'SMTP';   // MAIL|SENDMAIL|SMTP|QMAIL


/* 9. SMTP param setting. */
$_CFG['Mail']['SendParam']['Host']     = '';       // The server to connect. Default is localhost。這里是指的郵件服務(wù)器,如果你安裝bugfree上沒有郵件服務(wù)器,可以使用其他郵件服務(wù)器,比如163,地址即為stmp.163.com
$_CFG['Mail']['SendParam']['SMTPAuth'] = false;    // Whether or not to use SMTP authentication. Default is FALSE。這里要改成true
$_CFG['Mail']['SendParam']['Username'] = '';       // The username to use for SMTP authentication.//用戶名
$_CFG['Mail']['SendParam']['Password'] = '';       // The password to use for SMTP authentication.//密碼

  =========BugFree配置實例======================

/* 8. Mail setting. */
$_CFG['Mail']['On']          = true;
$_CFG['Mail']['FromAddress'] = "bugfree@{$_SERVER['SERVER_NAME']}";
$_CFG['Mail']['FromName']    = 'BugFree';
$_CFG['Mail']['ReportTo']    = array();  // Where bug statistics message sened to. If empty, to all users.
$_CFG['Mail']['SendMethod']  = 'SMTP';   // MAIL|SENDMAIL|SMTP|QMAIL

/* 9. SMTP param setting. */
$_CFG['Mail']['SendParam']['Host']     = 'smtp.qq.com';       // The server to connect. Default is localhost
$_CFG['Mail']['SendParam']['SMTPAuth'] = true;  

// Whether or not to use SMTP authentication. Default is FALSE
$_CFG['Mail']['SendParam']['Username'] = '6449694';       // The username to use for SMTP authentication.
$_CFG['Mail']['SendParam']['Password'] = 'qqxxxxx';       // The password to use for SMTP authentication.

軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd