Commit 0c3b0b37 by Jansa Jose

changes email credentials

parent c6114017
...@@ -203,7 +203,7 @@ public function fb_login_post(){ ...@@ -203,7 +203,7 @@ public function fb_login_post(){
if($res){ if($res){
$result = array( 'status' => 'success','message'=>'Email Sent Succesfully','data'=>''); $result = array( 'status' => 'success','message'=>'New Password is Sent To Your Email','data'=>'');
} else { } else {
$result = array( 'status' => 'error','message' =>'Sorry. Invalid email.','data'=>''); $result = array( 'status' => 'error','message' =>'Sorry. Invalid email.','data'=>'');
} }
......
...@@ -502,7 +502,7 @@ public function forgot_mails($data,$rand_pwd){ ...@@ -502,7 +502,7 @@ public function forgot_mails($data,$rand_pwd){
$this->email->subject("Forgot Password - Tukkibi"); $this->email->subject("Forgot Password - Tukkibi");
$this->email->message("Hi ".$data->name.", Your New Password is : ".$rand_pwd); $this->email->message("Hi ".$data->name.", Your New Password is : ".$rand_pwd);
$this->email->send(); $this->email->send();
echo $this->email->print_debugger(); //echo $this->email->print_debugger();
return "EmailSend"; return "EmailSend";
// } // }
/* }else { /* }else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment