Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if($this->User->saveField('reset_password_token',$fu['User']['reset_password_token'])){
- $Email = new CakeEmail();
- $Email->to("makamo66@hotmail.com");
- $Email->subject("Password Reset Request - DO NOT REPLY");
- $Email->replyTo("makamo66@hotmail.com");
- $Email->from('makamo66@hotmail.com');
- $Email->sender('makamo66@hotmail.com', 'Do Not Reply');
- $Email->template("resetpw");
- $Email->emailFormat("html");
- $this->Session->write('ms', $ms);
- $Email->send('Do not reply');
- $this->Session->setFlash(__('Check your email to reset your password.', true));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement