I am trying to send password recovery email to a user but i keep having errors

```indent preformatted text by 4 spaces`Template.ForgotPassword.events({
‘submit #forgotPasswordForm’: function(e, t) {
e.preventDefault();

var forgotPasswordForm = $(e.currentTarget),
    email = forgotPasswordForm.find('#forgotPasswordEmail').val().toLowerCase();

  Accounts.forgotPassword({email: email}, function(err) {
    if (err) {
      if (err.message === 'User not found [403]') {
        console.log('This email does not exist.');
      } else {
        console.log('We are sorry but something went wrong.');
      }
    } else {
      console.log('Email Sent. Check your mailbox.');
    }
  });

return false;

},
});

if (Accounts._resetPasswordToken) {
Session.set(‘resetPassword’, Accounts._resetPasswordToken);
}

Template.ResetPassword.helpers({
resetPassword: function(){
return Session.get(‘resetPassword’);
}
});

Template.ResetPassword.events({
‘submit #resetPasswordForm’: function(e, t) {
e.preventDefault();
var resetPasswordForm = $(e.currentTarget),
password = resetPasswordForm.find(’#resetPasswordPassword’).val(),
passwordConfirm = resetPasswordForm.find(’#resetPasswordPasswordConfirm’).val();
Accounts.resetPassword(Session.get(‘resetPassword’), password, function(err) {
if (err) {
console.log(‘We are sorry but something went wrong.’);
} else {
console.log(‘Your password has been changed. Welcome back!’);
Session.set(‘resetPassword’, null);
}
});
return false;
}
});```

On the server am using my mailgun credentials

And the error is…? And put three ` above and below all the code so it gets indented correctly.

Alright i will do it, but can you please help me with a working example. I will really appreciate it