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
Post a Comment