my magento 2.2.3 store is not able to send mails.but it's properly working on server.
Solved! Go to Solution.
Hello @shweta_singh1
If you want to use Gmail details in module then you need to enable less secure app from Gmail.
Did you try with Magepal Gmail SMTP Module. This would be useful for your case plz try and let me know. Magepal gmail smtp is best mail sender module for local host instance in magento2.
Hello @shweta_singh1
do you mean email is not working in local?
Hello,
Either you need to install https://github.com/mageplaza/magento-2-smtp or http://blog.techwheels.net/send-email-from-localhost-wamp-server-using-sendmail/
Hope it will help you.
If it will help you then mark as solution.
You need to install one of the best-known extension for GMail SMTP from github and after installing that extension your site doesn't come to any errors.
https://github.com/magepal/magento2-gmail-smtp-app
let me know if you have any issue.
Hello @shweta_singh1
Seems like you installed the module into app folder, please remove from it, add module using composer
Run below command from Magento root directory
composer require mageplaza/module-smtp
if you want to still install into app/code folder, then downlod core module from below link and install it
https://github.com/mageplaza/module-core
Hope it will help you.
If works then mark as a solution or give kudos.
Hello @shweta_singh1
you need to enable less secure app from gmail.
https://support.google.com/accounts/answer/6010255?hl=en
If it will help you then give kudos or mark as solution.