|
拜大侠赐教bugfree2.03如何设置发送邮件?
搞了一天了没成。
为什么我装了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'] = 'mail.zwtchina.com'; // The server to connect. Default is localhost
$_CFG['Mail']['SendParam']['SMTPAuth'] = false; // Whether or not to use SMTP authentication. Default is FALSE
$_CFG['Mail']['SendParam']['Username'] = 'chengyun.wu@zwtchina.com'; // The username to use for SMTP authentication.
$_CFG['Mail']['SendParam']['Password'] = 'password'; // The password to use for SMTP authentication. |
|