軟體開發BUG跟蹤之BUGFREE建立解決郵件傳送問題(windows)

餘二五發表於2017-11-24
Jason之BUGFREE安裝配置
一、 軟體環境:bugfree2.1.2.zip,按提示進行安裝;
二、 關鍵是郵件傳送配置:
a) Php.ini
[mail function]
; For Win32 only.
http://php.net/smtp
SMTP = mail.lilianwang.com
http://php.net/smtp-port
smtp_port = 25
b) Config.inc.php檔案
/* 8. Mail setting. */
$_CFG[`Mail`][`On`]          = true;
/* $_CFG[`Mail`][`FromAddress`] = “bugfree@{$_SERVER[`SERVER_NAME`]}”; */
$_CFG[`Mail`][`FromAddress`] = “master@lilianwang.com“;
$_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`]     = `mail.lilianwang.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`] = `master@lilianwang.com`;       // The username to use for SMTP authentication.
$_CFG[`Mail`][`SendParam`][`Password`] = `111111`;       // The password to use for SMTP authentication.
三、 BUGFREE就建立完成了,這個最簡單。
 
本文轉自 jxwpx 51CTO部落格,原文連結:http://blog.51cto.com/jxwpx/491930,如需轉載請自行聯絡原作者


相關文章