Magento 1 - How to trigger the password reset email to customer , instead of an email with an auto-generated password?

Magento 1 - How to trigger the password reset email to customer , instead of an email with an auto-generated password ?


Here we are trying to (trigger/send) the password reset email to customer. Instead an email with an auto-generated password.

We can achieve this functionality by following the steps below :- We will create a checkbox field (Send forgot password email) in customer information section same as "send autogenerated password" and when CS checks that box and saves the customer information we will be using "adminhtml_customer_save_before" event that triggers on customer save before from customer information section backend "doBeforeSave()" method is listening on this event here we will get the (customer id , email) , we will check field "Send forgot password email" checkbox value if its set then we will use this code ref -, to send the reset password link email to the customer.

Similar questions

Annoying reset password error "Cannot save a new password" on Magento
I am currently working with Magento and i am getting a strange behaviour from the reset password functionality. When I try resetting my password, I end up getting the following error "Cannot save a new password." but when I follow the same steps on a different account, it works. The accounts are exactly the same, the only difference is the...
Password reset updated but still able to login with old password in magento2
I have reset my password. It shows as Password updated. But still i can able to login with old password. Newly updated password is not working. My magento version is 2.2.6. Note: I am using Store session In DB instead of files. Can anyone look into this issue please.
how to convert guest to customer and send email to reset password in magento 2
How to convert guest to customer using order id and how to send them password reset email in magento 2. Please provide me a solution to send convert guest to customer
Create and send email to customer reset password link programmatically in magento
How to create a reset password link in magento and then send the mail to the corresponding customer.I have referred this link: But i don't know what is going inside that code.So kindly answer to solve this.I want to done it manually(programmatically)
Magento2: send a password reset url with customer's email
I would like to send customer a link to have their password reseted. => Code : However I cannot see any info here like a url that I can generate to then send to the customer. Is there anyway to do this?
Magento 2 devbox reset scipt command not found m2devbox-reset.[bat|sh]
I am trying to reset Magento devbox after restarting my mac and i keep getting the following error when running the command in the root folder. user-iMac:build-7204cee62e1e6ccb35bbdfc977c5e522 user$ m2devbox-reset.[bat|sh] -bash: m2devbox-reset.[bat: command not found -bash: sh]: command not found

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.