email php codeigniter发送邮件并打印调试信息
php codeigniter发送邮件并打印调试信息 [代码片段(10行)]
$this->load->library('email' ) ; $this->email- >from(' you@example. com' , ' Your Name' ) ; $this->email- >to('someone@example. com' ) ; $this->email- >cc('another@person. com' ) ; $this->email- >bcc('theboss@example. com' ) ; $this->email- >subject(' Email Test' ) ; $this->email- >message(' This is a simple test we wrote for the email class. ' ) ; $this->email- >send() ; echo $this->email- >print_debugger() ;
- 上一篇:PHP检查是否是本地服务器
- 下一篇:一个图片地址分解程序(用于PHP小偷程序)
精彩图集
精彩文章