我是靠谱客的博主 洁净啤酒,这篇文章主要介绍codeigniter发送邮件并打印调试信息的方法,现在分享给大家,希望可以做个参考。

本文实例讲述了codeigniter发送邮件并打印调试信息的方法。分享给大家供大家参考。具体如下:

这里的codeigniter代码实现发送邮件并打印调试信息的功能,用codeigniter自带的邮件发送库发送邮件

$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');
$this->email- >send();
echo $this->email- >print_debugger();

希望本文所述对大家基于codeigniter的php程序设计有所帮助。

最后

以上就是洁净啤酒最近收集整理的关于codeigniter发送邮件并打印调试信息的方法的全部内容,更多相关codeigniter发送邮件并打印调试信息内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(216)

评论列表共有 0 条评论

立即
投稿
返回
顶部