It worked without any issue upto Moodle 3.7 and now it is not working correctly with latest release. It sends all the internal notifications to relevant students. But only the Forgotten password option is not working. Also the test email does not send in 'Administration > Server > Email and Outgoing email configuration'. It shows following error,
I also checked changing to port 465 and SSL, still not working. What could be the issue? Did I missed anything?
Mail settings;
Site Administration > Server > Email and Outgoing email configuration. And enter following information.- SMTP hosts: smtp.gmail.com:587
- SMTP security: TLS
- SMTP Auth Type: LOGIN
- SMTP username: your email address (Eg: noreply@xxxx.xxx)
- SMTP password: gmail password. Save changes