Outgoing mail configuration with office 365

Outgoing mail configuration with office 365

by Irfan Aleem -
Number of replies: 1

Hello,

I have configured Outgoing mail configuration with Gmail and are working fine but I want to use my official email like support@mydomain.com for sending emails from Moodle.

I tried to configured the settings for office 365 user but it is giving error.

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

Can anyone guide me about it?

Regards,

Irfan

Average of ratings: -
In reply to Irfan Aleem

Re: Outgoing mail configuration with office 365

by Brendon Hatcher -
Hi. I struggled to get it to work, but was successful with these settings.
Office 365 requires that support email match the Outgoing Mail settings, otherwise it refuses to connect and transmit email)

  1. Site administration / Server
  2. Support Contact
  3. Support name = Your company
  4. Support email = your email
  5. Save changes

  1. Site administration / Server
  2. Outgoing mail configuration
  3. SMTP hosts = smtp.office365.com:587
  4. Security = TLS
  5. Auth type = LOGIN
  6. SMTP username = same as support email
  7. Pass = the password
  8. Session limit = 10
  9. No-reply address = same as support email
  10. Allowed domains = domain of email address

Hope that helps

Regards
Brendon

Average of ratings: Useful (4)