cancel
Showing results for 
Search instead for 
Did you mean: 

Forgot Password Email NOT Being Sent

Forgot Password Email NOT Being Sent

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

3 REPLIES 3

Re: Forgot Password Email NOT Being Sent

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

 

Re: Forgot Password Email NOT Being Sent

Thank you, but this is not what I'm looking for.

 

I wonder why the Forgot Password email is never sent

Re: Forgot Password Email NOT Being 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