Moodle 3.9.X SMTP is not working

Keywords: Moodle - Linux - How to - Email configuration (SMTP)
I am using google email account and SMTP configuration is as follows:

SMTP Hosts:
SMTP Security: TLS
SMTP Auth Type: Login
SMTP username: my gmail address
SMTP password:xxxxxxxxxxxxxxx

When I am testing outgoing email, I am getting the following message.

Your site couldn’t communicate with your mail server. Please check your outgoing mail configuration.

Looking forward to get the response on this asap.

Can you check you can reach port 587 on ?

Thanks for your comments, I solve this issue but authorizing the app from the email provider website(gmail)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.