使用CI框架的emailCI_Email时发送失败 send方法返回false想要知道原因时可以输出email类的debug来进行查看,方法如下:
$this->email->print_debugger(array('headers'))