Email settings are not working in moodle.

Re: Email settings are not working in moodle.

by Sana Ullah -
Number of replies: 4
Jason,
Thanks for reply, its host at VM behind a firewall, but I already verify that SMTP sever is accessible from Moodle VM.
To make sure the connectivity I use Power Shell & separate PHP page to send an email from same server using same SMTP settings and it is working fine .
Only Moodle is unable to send an email.
Moreover I try different smtp settings that's working perfectly in other applications but in Moodle its also fails and error message remains the same. 

Error message remains the same  " Your site couldn't communicate with your mail server. Please check your outgoing mail configuration. "

Is there any way inside the Moodle that i can trouble shoot the issue. ?
In reply to Sana Ullah

Re: Email settings are not working in moodle.

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
The straightforward method would be to check the logs of the SMTP server. That said, it is odd that you've filled "mywebserver.com" under SMTP hosts?

BTW, this is not about a plug-in, rather a core functionality in Moodle.
In reply to Visvanath Ratnaweera

Re: Email settings are not working in moodle.

by Sana Ullah -
Thanks ,
I am able to configure using gmail smtp .
In reply to Sana Ullah

Re: Email settings are not working in moodle.

by Brigitte Denton -

I am running into similar issues. I have tried setting it up for office365 as well as gmail to no avail.

Not sure what is going on.

Any tips?

In reply to Brigitte Denton

Re: setting up e-mail for office365 as well as Gmail does work

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi Brigitte

You should start a new discussion explaining your platform, what you did exactly setting up the e-mail and the results you got.

P.S. I changed the subject line to match the question.