CodeIgniter send a message and print debug information codeigniter send a message
The examples in this article describe how CodeIgniter sends messages and prints debugging information. Share to everyone for your reference. Specific as follows:
The CodeIgniter code here implements the ability to send messages and print debugging information, sending messages using CodeIgniter's own mail sending library.
$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 was a simple Test we wrote for the E Mail '); $this->email->send (); Echo $this->email->print_debugger ();
I hope this article is helpful to everyone based on CodeIgniter PHP program design.
http://www.bkjia.com/PHPjc/970970.html www.bkjia.com true http://www.bkjia.com/PHPjc/970970.html techarticle CodeIgniter send a message and print debug information codeigniter send a message This article describes a method that CodeIgniter sends a message and prints debug information. Share for everyone to join us ...