php - Codeigniter ion auth forgot password not sending email -



php - Codeigniter ion auth forgot password not sending email -

if submit reset new password email, codeigniter not sending mail. it's returning message 'password reset email sent' doesnt have error. btw, i'm using codeigniter 2.1.4 , ion_auth 2.5.2

$config['use_ci_email'] = true;

i set code true, , still not sending mail

i utilize config in codeigniter application/config/email.php

$config['protocol'] = 'mail'; $config['wordwrap'] = false; $config['mailtype'] = 'html';

application/config/autoload.php

$autoload['libraries'] = array('lang','template', 'email','form_validation','session','encrypt','pagination','upload','database' );

in controller

$this->email->from(mail,mail); $this->email->to($mailto); $this->email->subject($text_subject); $this->email->message($this->load->view('email/template_email',$data,true)); $this->email->send();

php codeigniter ion-auth

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -