codeigniter_tutorial
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
CodeIgniter<br />
$this->email->from('your@example.com', 'Your Name');<br />
$this->email->to('someone@example.com');<br />
$this->email->subject('Email Test');<br />
$this->email->message('Testing the email class.');<br />
After that, execute the send() function as shown below to send an email.<br />
$this->email->send();<br />
Example<br />
Create a controller file Email_controller.php and save it in<br />
application/controller/Email_controller.php.<br />