public sendResetPasswordEmail ( Cake\Datasource\EntityInterface $user, Cake\Mailer\Email $email = null, string $template = 'CakeDC/Users.reset_password' ) : array | ||
$user | Cake\Datasource\EntityInterface | User entity |
Cake\Mailer\Email | instance, if null the default email configuration with the | |
$template | string | email template Users.validation template will be used, so set a ->template() if you pass an Email instance |
return | array | email send result |