function send_mail($to, $subject, $body)
{
    include FCPATH . APPPATH . 'libraries/smtp.php';
    $smtpinfo = array();
    $smtpinfo["host"] = "smtp.qq.com";
    $smtpinfo["username"] = "******";
    $smtpinfo["password"] = "******";
    $smtpinfo["port"] = "25";
    $from = $smtpinfo['username'];
    $subject = '=?utf-8?B?' . base64_encode($subject) . '?=';
    $smtpMail = new smtp($smtpinfo['host'], $smtpinfo['username'], $smtpinfo['password'], $smtpinfo['port']);
    $smtpMail->setHeader('Content-Transfer-Encoding', '8bit');
    $smtpMail->setFrom($from, '=?utf-8?B?' . base64_encode("酷Live网") . '?=');
    $smtpMail->addTo($to);
    $smtpMail->setSubject($subject);
    $smtpMail->setBody($body);
    @$smtpMail->send();
}