Setting Up Microsoft Office 365 for Third-Party Email Clients Using App Passwords

If your Office 365 account has multi-factor authentication enabled, you will need an App Password to connect a third-party email client such as Thunderbird, Outlook, or Apple Mail to it. Follow this guide to configure the application

Step 1: Enable POP/IMAP in Microsoft 365

  1. Log in to the Microsoft 365 Admin Center:
    Go to admin.microsoft.com and sign in with admin credentials.
  2. Enable POP/IMAP for a Mailbox:
    • Navigate to Admin Centers → Exchange.
    • In the Exchange Admin Center, go to Recipients → Mailboxes.
    • Select the mailbox for which you want to enable POP/IMAP and click Manage email apps.
    • Ensure that the boxes for POP3 and IMAP4 are checked.

Step 2: Generate an App Password

  1. Log in to Your Microsoft Account Settings:
    Go to Microsoft Account Security.
  2. Enable Multi-Factor Authentication (if not already enabled):
    • In the Security Info section, set up MFA by following the on-screen instructions.
  3. Create an App Password:
    • In the Security Info section, click on Add method → Select App password.
    • Generate a new password by following the prompts.
    • Copy the generated password—it will be required in your email client setup.

Step 3: Configure the Third-Party Email Client

POP Settings (if using POP)

  • Incoming Mail Server: outlook.office365.com
  • Port: 995
  • Encryption: SSL/TLS
  • Username: Your full email address (e.g., you@yourdomain.com)
  • Password: Paste the App Password you generated.

IMAP Settings (if using IMAP)

  • Incoming Mail Server: outlook.office365.com
  • Port: 993
  • Encryption: SSL/TLS
  • Username: Your full email address
  • Password: Paste the App Password you generated.

SMTP Settings (Outgoing Mail)

  • Outgoing Mail Server: smtp.office365.com
  • Port: 587
  • Encryption: TLS
  • Username: Your full email address
  • Password: Paste the App Password you generated.

Step 4: Test the Configuration

  • Open your email client and add a new account using the settings above.

Send and receive a test email to confirm the setup.

Tips for Troubleshooting

  1. Enable Modern Authentication: Ensure your organization has enabled modern authentication for Office 365.
  2. Check Port Numbers: Confirm you're using the correct port numbers for POP, IMAP, and SMTP.
  3. Firewall and Antivirus: Ensure that they are not blocking the required ports.

Microsoft 365 MX Record

Steps to Configure Microsoft 365 MX Records

  1. Log in to Your Domain Registrar’s Account:
    Access your DNS management settings where your domain is hosted (e.g., GoDaddy, Namecheap, Cloudflare).
  2. Locate DNS Settings:
    Navigate to the section for managing DNS records.
  3. Add the MX Record:
    • Host/Name: Typically, this will be @ (represents your root domain).
    • Type: Set to MX.
    • Priority: Enter 0 (highest priority).
    • Mail Server: Use the value provided in your Microsoft 365 admin panel (e.g., example-com.mail.protection.outlook.com).
  4. Save Changes:
    Apply the changes and allow time for propagation (usually a few hours to 48 hours).

Verify MX Record Configuration

  1. Log in to the Microsoft 365 Admin Center:
    Go to Microsoft Admin Center.
  2. Navigate to Setup → Domains:
    Select your domain and click Check DNS to ensure the MX record is correctly configured.

Important Notes

  • Single MX Record: Microsoft 365 uses a single MX record for simplicity and reliability.
  • Remove Old MX Records: Delete any MX records not associated with Microsoft 365 to avoid email delivery issues.
  • TTL (Time to Live): Set TTL to a low value (e.g., 3600 seconds) during setup for faster updates.

 

Share:
Related Blogs
Microsoft Office 365 SMTP Integration for Website Contact Forms (2026 Guide – OAuth 2.0 & Graph API)

Microsoft Office 365 SMTP Integration for Website Contact Forms (2026 Guide – OAuth 2.0 & Graph API)

If your website contact form suddenly stopped sending emails using Microsoft Office 365 SMTP, you are not alone.

Effortlessly Manage Team Emails with Google Workspace Shared Inboxes

Effortlessly Manage Team Emails with Google Workspace Shared Inboxes

In today’s fast-paced business world, efficient communication is key to providing excellent customer service and maintaining team productivity.

Setting Up Microsoft Office 365 for Third-Party Email Clients Using App Passwords

Setting Up Microsoft Office 365 for Third-Party Email Clients Using App Passwords

If your Office 365 account has multi-factor authentication enabled, you will need an App Password to connect a third-party email client such as Thunderbird, Outlook, or Apple Mail to it. Follow this guide to configure the application

Our Partners