I recently setup version 2.5 and I use office 365 for email. I set up an email account for moodle and got all the settings put in. However I'm not having any luck getting emails to flow out of moodle. What am I missing?
Installing and upgrading help
email integration office 365
Did you log into that email account for moodle user and enable Pop/Imap access?
Here is a link to configure it;
I am our Office 365 Admin also and by default ours is set to Disabled based on the rules we set in ECP and the student must enable it.
One thing I noticed when using Office 365 from Applications is that I have to specify the actual server name where the mailbox resides like pod51080.outlook.com port 587 using TLS. You can get the mail server name after logging into your account you wish to use and looking at the URL.
Didn't think about the url needing to be the pod # instead of outlook. I did confirm smtp and all are enabled so shouldn't be any issues with moodle accessing the account and sending from it.
How can I send a test email out of moodle? I don't see a way to do it so I'm assuming I just have to wait for it to try and shoot an email out to someone? Also is there a log file I can look at for this to see if/why it's not able to send out the emails?
We use Postifx locally on our server for Moodle but our other applications use Office 365 account for some and the direct URL works but the other method didn't.
You can look at the logs for your specific server OS. If it is linux it should be in /var/log/ called mail.log mail.info
You can also set your debug level in Moodle to Developer under Site Administration > Development > Debugging set it to Developer and make sure to uncheck the option to display on page if it is checked so all your users do not see the messages, this way it goes to logs only then look at /var/log/apache2/ error.log
well moodle is still not sending out emails the way it should...checked the logs, not seeing anything causing issues. I've double and triple checked my smtp settings. Any suggestions?
Are you settings the SMTP username and the No-Reply address the same in Moodle? For Exchange these two addresses must be the same. If not you need to setup a "Send-As" privilege in the Exchange Console.
You can also setup an Internal SMTP relay on one of your servers,
If you still cannot get it to work my best advice is to install Postfix on the Moodle server before you strain your brain too much over it. Once you install postfix you do not have to configure anything, just set the SMTP host in Moodle as localhost. Localhost by default has rights to send through Postfix