Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $config['mailtype'] = 'html';
- $this->email->set_mailtype("html");
- $this->load->library('email', $config);
- $this->email->set_newline("\r\n");
- $this->email->from('abc@gmail.com'); // change it to yours
- $this->email->to($result->email); // change it to yours
- $this->email->subject('Thanks For Registration');
- $this->email->message($this->load->view('regi_email', '', TRUE));
- $this->email->send();
- $message = 'Your Login Id: ' . $result->email . ' , Your Password: ' . $result->password . ' & Url is: ' . site_url() . '.';
- $resdata = $this->model->sentmsg($message, $result->mobile);
Add Comment
Please, Sign In to add comment