|
本帖最后由 img444 于 2013-11-12 22:37 编辑
我是用gmail 测试发送邮件的但是,程序运行起来就一直停不下来了? php_openssl 扩展也开启了。这是怎么回事呢?有大神解决吗?
我的代码:
$config = array(
'protocol' => 'smtp',
'smtp_host' => 'ssl://smtp.googlemail.com',
'smtp_port' => 465,
'smtp_user' => 'mymail@gmail.com',
'smtp_pass' => '****'
);
$this->load->library('email', $config);
$this->email->set_newline("\\r\\n");
$this->email->from('chuangke86@gmail.com', 'bobo');
$this->email->to('****@qq.com');
$this->email->subject('test CI');
$this->email->message('It is working. Great!ok!');
if($this->email->send())
{
echo 'Your email was sent, fool.';
}
else
{
show_error($this->email->print_debugger());
}
报错 ::Fatal error: Maximum execution time of 300 seconds exceeded in F:\web\ci214\system\libraries\Email.php on line 1869 |
|