您的位置:首页 > 其它

bugfree 发送邮件设置

2013-08-27 14:55 525 查看
域名:sysk.cn

以163邮箱来举例,邮箱必须开通SMTP服务,

在protected/config/main.php 文件最后修改内容: 'mail' =>
array (
'on' => '1',
'from_address' => 'bugfree@xxx.cn', #bugfree邮箱地址
'from_name' => 'BugFree', #帐号
'send_method' => 'SMTP',
'send_params' =>
array (
'host' => '192.168.1.14', #服务器地址
'smtp_auth' => true, #
'username' => 'bugfree', #邮箱帐号
'password' => 'xxxxxxxxxxxx', #邮箱密码

修改管理员帐号邮箱:

bugfree后台游戏地址
admin@sysk.cn

修改php.ini配置文件

[mail function]
; For Win32 only.
; http://php.net/smtp SMTP = mail.sysk.cn
; http://php.net/smtp-port smtp_port = 25
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息