How to Configure Microsoft 365 SMTP with Joomla

Microsoft 365 client SMTP submission uses SMTP AUTH, while Microsoft recommends modern authentication. Before entering a username and password in Joomla, confirm that the tenant and mailbox permit the authentication method your Joomla mail path can actually provide.

Confirm that your Microsoft 365 policy permits the chosen method

Microsoft 365 client SMTP submission uses SMTP AUTH, while Microsoft recommends modern authentication. Before entering a username and password in Joomla, confirm that the tenant and mailbox permit the authentication method your Joomla mail path can actually provide.

Do not enable weaker tenant-wide settings simply to preserve an old SMTP configuration. If policy requires OAuth or another modern method, use a supported Joomla mail integration or relay design that can meet that policy.

Configure the Microsoft 365 SMTP endpoint

For Microsoft 365 client SMTP submission, use Microsoft’s documented SMTP hostname and secure submission settings.

  1. In Joomla, open System → Global Configuration → Server → Mail Settings.
  2. Select SMTP.
  3. Set the host to smtp.office365.com.
  4. Use port 587 with STARTTLS/TLS as required by Microsoft.
  5. Enable SMTP Authentication and enter the designated mailbox identity if that method is permitted.

Verify SMTP AUTH for the mailbox

Microsoft 365 can control SMTP AUTH at the organization level and per mailbox. Security Defaults and other identity policies can also affect whether password-based SMTP authentication is available.

Check the designated mailbox’s Authenticated SMTP setting and follow your organization’s security policy. A Joomla authentication error is not automatically a bad password.

Make sure the From Email is authorized

If Joomla’s From Email differs from the mailbox used to authenticate, Microsoft may require the authenticated identity to have permission to send as that address.

Configure the appropriate Send As or sender permission in Microsoft 365 instead of repeatedly changing Joomla’s SMTP credentials.

Test and identify the exact failure stage

Save the configuration and use Send Test Mail. Connection timeouts, TLS failures, authentication failures, and sender-permission failures have different causes.

Correlate the Joomla test time with Exchange Online message trace, authentication records, hosting/firewall logs, or other available evidence. Once the test works, document the chosen sending method and non-secret endpoint settings.


Need More Help with Joomla?

Still having trouble? Open a support ticket with QuantaCade Support and we'll be happy to help where we can.

Support priority is given to QuantaCade products, services, and customers. However, we're also happy to assist fellow Joomla users with general Joomla questions and troubleshooting when possible.

QuantaCade is an independent Joomla extension developer and is not official Joomla support. Some issues involving third-party extensions, hosting environments, server configurations, or other systems outside our development control may be beyond what we're able to resolve.

Open a Support Ticket