SMTP with office365?

Some up to date instructions for anyone struggling with office365 & direct-delivery

  • Go to Microsoft admin center
  • Click on Settings then Domains
  • Click on Add Domain
  • Follow the instructions on the screen to add your forum’s URL (example: forum:yourlinks.com)
  • Once you’ve completed the above steps and the DNS is verified, you’re now able to create an inbox using that subdomain
  • Click on Users and then Active users
  • Click on Add a user
  • Create the mailbox for your forum (example: noreply@forum.yourlinks.com) mailbox domain must match the hostname from where the forum runs
  • Click on Licenses & Apps
  • Assign this mailbox an Exchange Online (Plan 1) license (10,000 messages daily 30msg/min throttle) It is required to have a license attached to the mailbox for the purpose of direct-delivery. At the time of writing, the cost is $4.00USD/mo or $5.10/CAD | Should you require a higher limit or a shorter throttle, there are other plans available
  • Click on Mail and then Manage email apps
  • Enable “Authenticated SMTP”
  • Click Save changes
  • Go to your Azure portal
  • Browse to your active directory
  • Select Properties in the left sidebar, right under User settings
  • Select Manage security defaults
  • Set Security defaults to “disabled”
  • Click save
  • Go back to Users > Active users
  • Click on Multi-factor authentication
  • Disable MFA on the mailbox being used

The mailbox is now ready for use by your Discourse.