Codeigniter sends an email and prints the debugging information.
This example describes how codeigniter sends an email and prints debugging information. Share it with you for your reference. The details are as follows:
The codeigniter code here provides the function of sending emails and printing debugging information. It uses the built-in email sending library of codeigniter to send emails.
$ 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 address'); $ This-> email-> send (); echo $ this-> email-> print_debugger ();
I hope this article will help you with codeigniter-based php programming.