You are here: Home » Others » Codeigniter

Category Archives: Codeigniter

Mail in codeigniter

phpsage_other

To use email in codeigniter, use below code, first load email library by using $this->load->library(’email’);. After it define to,from,subject and message, you can also use cc and bcc. At end use $this->email->send(); to send mail. To debug mail use echo $this->email->print_debugger(); You can set name of sender as $this->email->from(‘you@example.com’, ‘Your Name’); For repply use $this->email->reply_to(‘you@example.com’, ‘Your Name’); To create multiple ... Read More »

Scroll To Top
24 Flares Twitter 0 Facebook 0 Google+ 0 StumbleUpon 7 Pin It Share 8 LinkedIn 9 24 Flares ×