magento 2.2.2
Forgot Password email is not being sent. I have tested agaisnt 2 different email accounts, also I have checked inbox, unread and spam folder.
Generally I think email is configred correctly as clients are getting order conformation emails. And if I login to backoffice and click "reset password", then an email is sent..
but no email is sent to forgot password
Any ideas
Hi @Loginname
I have only this solution for you. You can reset Magento 2 user password in database
Go to phpmyadmin and run the following sql query, replace username 'admin' in your query:
UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxYourNewPassword', 256), ':xxxxxxx:1') WHERE username = 'admin';
The xxxxxxx character sequence is a cryptographic salt, it is saved in app\etc\env.php file
<?php return array ( ... 'crypt' => array ( 'key' => '525701df74e6cba74d5e9a1bb3d935ad', //cryptographic salt ), ...
I hope it will help you.
Thanks
--
If my answer is useful, please Accept as Solution & give Kudos
Thank you, but this is not what I'm looking for.
I wonder why the Forgot Password email is never sent
Hi @Loginname
I would like to suggest you to use this extension for SMTP email. This is a free extension.
https://github.com/mageplaza/module-core
https://github.com/mageplaza/magento-2-smtp
Steps to install and configuration:
1) Download and install both the extension.
2) Run upgrade and compile command, clear cache
3) Setting for SMTP under Store Configuration
It will defiantly work for you.
Cheers.
--
If my answer is useful, please Accept as Solution & give Kudos