I try to using email.
my code
It not work and don't have anything display on website.
Pls recommend for help.
my code
PHP Code:
public function sendEmail () {
$this->load->library('email');
$this->email->from('unetic.b@gmail.com', 'Sarote Sealee');
$this->email->to('sarote.lee@gmail.com');
$this->email->subject('Email Test');
$this->email->message('Testing the email class.');
$this->email->send();
echo $this->email->print_debugger();
}
It not work and don't have anything display on website.
Pls recommend for help.