You have to install SMTP to send email:
Here you can find few examples:
https://magento.stackexchange.com/questions/241019/were-unable-to-send-the-password-reset-email
https://github.com/magento/magento2/issues/6578
Hi @BYK
SMTP server settings are needed to send email from a Mail. com account through a different email supplier.
Follow these steps to configure SMTP in your system :
composer require mageplaza/module-smtp php bin/magento setup:upgrade php bin/magento setup:static-content:deploy
Boom ! Your email will be dispatching now if everything is setup correct.
If issue is resolved, please click on 'Kudos' & Accept as Solution!
Hi @BYK,
You can try the following commands and check again.
rm -rf generated rm -rf var/* php bin/magento setup:upgrade php bin/magento setup:static-content:deploy php bin/magento setup:di:compile
Let me know if you need further assistance. Hope it helps!
_____________
If issue solved, Click Kudos & Accept as Solution.