For smart Primates & ROBOTS (oh and ALIENS ).

Saturday, October 05, 2013

Send email in Codeigniter

Send email in Codeigniter


$this->load->library('email');
$this->email->from('my@my-site.com', 'My Name');
$this->email->subject('Test subject');
$this->email->message('Testing email.');
$this->email->attach('/path/img1.jpg');
$this->email->send();

Share:

Related Posts:

0 comments:

Post a Comment

Ads Inside Post

Powered by Blogger.

Archive