Trying to use
smtp.office365.com:587 I setup other elements on setup page, and have very strange problem: Mail is always delivered OK when sending from (noreplyaddress). However if I fill allowedemaildomains, and make it have the same domain as my moodle users, there is always fail in emailing send. That makes my moodle capable to send mails from noreplyadress, but not from the user adress. Any advice would be nice. Thanks in advance.