Microsoft 365 Email Migration from GoDaddy or Hostinger

Photo: Unsplash — free to use, no attribution required

How Microsoft 365 Email Works

Microsoft 365 email operates on Exchange Online infrastructure, which provides enterprise-grade email delivery, security, and compliance features. Whether you are setting up email for a small business or configuring SMTP relay for applications, understanding the underlying architecture helps you make better configuration decisions.

Exchange Online processes email through a series of stages: authentication, policy evaluation, transport rules, and finally delivery. Each stage can affect whether your email reaches its destination. Configuration errors at any stage can result in delivery failures, delays, or messages being quarantined.

The most common configuration tasks involve DNS setup (MX, SPF, DKIM, DMARC records), connector configuration for devices and applications, and security settings that balance protection with deliverability. This guide walks through each of these areas systematically.

Setting Up Your Environment

Gather these items before you begin: your Microsoft 365 admin credentials, access to your domain registrar for DNS changes, a list of users who need email accounts, and details of any applications that send email (CRM, WordPress, printers, monitoring systems).

Decide on your SMTP sending method based on your needs. Microsoft 365 supports three approaches: SMTP client submission (port 587, requires authentication per user — best for applications sending as a specific user), Direct Send (port 25, no authentication — only for sending to Microsoft 365 recipients within your organization), and SMTP relay via connector (port 25, IP-based authentication — best for devices and applications sending to external recipients).

For Indian businesses, consider the Microsoft 365 plan that best fits your team size. Business Basic provides email and web apps, Business Standard adds desktop Office apps, and Business Premium includes advanced security features. All plans include 50GB mailbox storage per user.

Detailed Configuration Process

Begin in the Microsoft 365 Admin Center. Under Settings → Domains, add your business domain and complete the verification process. Microsoft provides multiple verification methods — the TXT record method is the most straightforward: add the provided TXT record to your DNS and click "Verify."

Once verified, configure your DNS records in this order: first MX records (to start receiving mail), then SPF (to authorize sending), then DKIM (for message signing). This order ensures that incoming mail works first, and outgoing mail authentication follows.

Create user mailboxes under Users → Active Users. Each user who needs an email address requires a Microsoft 365 license that includes Exchange Online. Assign licenses, set initial passwords, and send setup instructions to each user.

For SMTP configuration in applications, WordPress, or devices: use smtp.office365.com on port 587 with STARTTLS encryption. The username must be a full email address (user@yourdomain.com) with a valid Microsoft 365 license. Enable SMTP AUTH for the specific accounts that need programmatic access — this is disabled by default in Exchange Online and must be enabled per-mailbox in the Admin Center.

Verifying Your Setup

Testing should cover multiple scenarios: send test emails to Gmail, Outlook, and Yahoo addresses to verify deliverability across major providers. Each provider has slightly different filtering criteria, so testing across all three catches issues that testing with just one might miss.

Check the email header information for proper authentication results. Every test email should show SPF: pass, DKIM: pass, and DMARC: pass in the headers. If any authentication check fails, the most likely cause is an incorrect or missing DNS record — go back and verify each record is entered exactly as specified by your provider.

For WordPress sites, test the specific email types your site sends: contact form submissions, WooCommerce order confirmations, password reset emails, and new user registration emails. Some plugins override WordPress email formatting, so verify that each email type looks correct and contains the expected content.

Ongoing Management

For ongoing management, review the Microsoft 365 Security and Compliance center regularly. Monitor quarantined messages to ensure legitimate emails are not being incorrectly blocked. Adjust spam filter policies if users report missing emails — but be cautious about lowering security thresholds, as this increases exposure to actual spam and phishing.

When applications cannot connect via SMTP, verify these settings in order: the sending account has an Exchange Online license, SMTP AUTH is enabled for that account, the application uses the correct server (smtp.office365.com), port (587), and encryption (STARTTLS), and the account password is correct and not expired.

Microsoft is phasing out basic authentication for SMTP. Plan your migration to OAuth 2.0 authentication, especially for custom applications. Modern authentication provides better security and is required for new configurations. The Microsoft Identity Platform provides libraries for most programming languages to simplify OAuth implementation.

Frequently Asked Questions

What are the SMTP settings for Microsoft 365?

The SMTP client submission settings are: Server: smtp.office365.com, Port: 587, Encryption: STARTTLS, Authentication: Required. The username must be a full email address with a valid Microsoft 365 license, and SMTP AUTH must be enabled for that account in the Exchange Admin Center. For relay scenarios, different settings apply depending on your connector configuration.

Why is Microsoft 365 blocking my SMTP connection?

The most common causes are: SMTP AUTH is disabled for the sending account (it is off by default), Security Defaults or Conditional Access policies are blocking basic authentication, the account password has expired, or the account does not have an Exchange Online license. Check these items in order — SMTP AUTH settings are the most frequent culprit.

How do I enable SMTP AUTH in Microsoft 365?

In the Microsoft 365 Admin Center, go to Users → Active Users, select the user, click Mail → Manage email apps, and ensure "Authenticated SMTP" is checked. Alternatively, use PowerShell: Set-CASMailbox -Identity user@domain.com -SmtpClientAuthenticationDisabled $false. This setting is per-mailbox, so enable it only for accounts that need programmatic SMTP access.

Is Microsoft 365 email worth it for Indian small businesses?

For businesses that need professional email with their own domain, Microsoft 365 Business Basic provides excellent value — you get 50GB mailbox storage, Exchange Online protection, and integration with Teams and other Microsoft services. The per-user pricing is competitive when compared to maintaining your own email server or using less reliable hosting email.