INSTALL.htm 介绍了BugFree的安装
HOWTO.htm 介绍了如何使用BugFree
FILES.htm 介绍了BugFree的代码文件
一、
bugfree安装好之后,对于邮箱发送功能,要设置一下邮件服务器。具体找到配置文件,在bugfree/include/config.inc.php
找到这几行代码:
view plaincopy to clipboardprint?
/* 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'] = ''; // The server to connect. Default is localhost。这里是指的邮件服务器,如果你安装bugfree上没有邮件服务器,
可以使用其他邮件服务器,比如163,地址即为https://www.sodocs.net/doc/c312086287.html,
$_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.//密码
修改为如下,我使用的是自己在163上注册的邮箱地址 17testing@https://www.sodocs.net/doc/c312086287.html,
view plaincopy to clipboardprint?
/* 8. Mail setting. */
$_CFG['Mail']['On'] = true;
$_CFG['Mail']['FromAddress'] = "17testing@https://www.sodocs.net/doc/c312086287.html,";
$_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'] = 'https://www.sodocs.net/doc/c312086287.html,'; // 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'] = 'casilin2005'; // The username to use for SMTP authentication.
$_CFG['Mail']['SendParam']['Password'] = '123456'; // The password to use for SMTP authentication.
复制代码
二、
顺便告诉楼主声 在bugfree2.0里面无法显示统计报表的时候
可以在include/FC_Colors.php中,把开头的 改为这样就能把美美的报表统计图片弄出来了哦~~ 嘎嘎……
将BugFree的邮件方式修改成SENDMAIL方式,(在 Include/ConfigBug.inc.php中设置),同时将多个邮件服务器的域名地址配置在hosts中,重启apache,成功。
三、
配置email: C:\Program Files\EasyPHP1-7\apache\php配置文件.
[mail function]
; For Win32 only.
SMTP = localhost(修改后)
; For Win32 only.
sendmail_from =
me@https://www.sodocs.net/doc/c312086287.html,(修改后)
C:\Program Files\EasyPHP1-7\apache\conf\httpd.conf将ServerAdmin 改为管理员的email
将ServerName 改为服务器地址
终于搞定了!
其实很简单:
1)如果公司有SMTP服务器,直接修改这个
EasyPHP1-7\apache\php配置文件:
[mail function]
; For Win32 only.
SMTP = 192.168.1.1 (此地址是公司incoming/outgoing mail server,原来的内容是localhost)
这个改完后,就OK了!
2)如果公司没有SMTP服务器,就需要安装一个SMTP server,可以去找一个免费的
安装完成后,参照1)配置即可
希望能对其他人有所帮助
\
四
BugFree邮件发送设置方法
BugFree, 邮件, 设置BugFree, 邮件, 设置
设置如下:
$_CFG['Mail']['SendMethod'] = 'SMTP'; // MAIL|SENDMAIL|SMTP|QMAIL
/* 9. SMTP param setting. */
$_CFG['Mail']['SendParam']['Host'] = 'https://www.sodocs.net/doc/c312086287.html,'; // 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'] = 'issuesystem'; // The username to use for SMTP authentication.
$_CFG['Mail']['SendParam']['Password'] = '********'; // The password to use for SMTP authentication.
还是收不到邮件,用邮件客户端软件是可以发送邮件的。奇怪了,有设置成功的朋友吗?共享一下设置的方法。
公司mail server
https://www.sodocs.net/doc/c312086287.html,