|
$this->load->library('email');
$this->email->from('zjz1317660800@163.com', 'your name');
$this->email->to('1357111048@qq.com');
$this->email->subject('Email Test');
$this->email->message('Testing the email class.');
if($this->email->send())
{
echo "send success";
echo $this->email->print_debugger().'<br>';
}
else
{
echo $this->email->print_debugger().'<br>';
echo "send failure";
}
结果输出 : send success 但是没有发送成功 |
|