您的位置:软件测试 > 开源软件测试 > 开源Bug管理工具 > BugFree
解决bugfree 配置邮箱问题
作者:网络转载 发布时间:[ 2014/1/13 13:27:27 ] 推荐标签:bugfree 配置 bug

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,地址即为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;//开启邮箱服务
$_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,地址即为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.//密码

修改为如下,我使用的是自己在163上注册的邮箱地址 casilin2005@163.com

view plaincopy to clipboardprint?
/* 8. Mail setting. */ 
$_CFG['Mail']['On']          = true;  
$_CFG['Mail']['FromAddress'] = "casilin2005@163.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']     = 'smtp.163.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'] = 'casilin2005';       // The username to use for SMTP authentication.  
$_CFG['Mail']['SendParam']['Password'] = '123456';       // The password to use for SMTP authentication. 

软件测试工具 | 联系我们 | 投诉建议 | 诚聘英才 | 申请使用列表 | 网站地图
沪ICP备07036474 2003-2017 版权所有 上海泽众软件科技有限公司 Shanghai ZeZhong Software Co.,Ltd