域名:sysk.cn

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

0_133261500547Mw.gif

在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