I’m using Moodle where I allow user to register themselves, after which an email is sent to them. However, when user are registering, the email is not being sent and I’m getting the error:
Tried to send you an email but failed!
I have set the following SMTP details:
- SMTP hosts: smtp.gmail.com
- SMTP security: SSL
- SMTP username: email@example.com
- SMTP password: mypassword
How can I solve this error?