Exchange Connection Problems

Configure Office 365 POP, IMAP, and SMTP Through a Proxy

John WilsonJohn Wilson Nov 22, 2026 868 views

Question details

Configure and troubleshoot Office 365 POP, IMAP, and SMTP connections through a proxy.

Configure Office 365 POP, IMAP, and SMTP Through a Proxy
Product
Microsoft 365 Exchange Online
Device & OS
not provided
Scenario
A mail client must connect to Exchange Online through an organization's proxy and firewall.
Observed behavior
Outlook cannot find the incoming POP3 server or send a test email, although browser and Outlook access may otherwise work.
Before you start

Identify the mail client, proxy address and port, and whether the account uses POP or IMAP. Ask your Exchange and network administrators to confirm which protocols and authentication methods are enabled for the mailbox.

Solution 1Recommended

Verify Exchange Online server and authentication settings

Use this solution to rule out incorrect mail server, encryption, or account settings before investigating the network path.

1
Open account settings

In Outlook, open File > Account Settings > Account Settings, select the affected account, and choose Change or Repair. The available options vary by Outlook version.

2
Check the incoming server

For POP, enter outlook.office365.com on port 995 with SSL/TLS. For IMAP, enter outlook.office365.com on port 993 with SSL/TLS.

3
Check the outgoing server

Set the SMTP server to smtp.office365.com on port 587 and select STARTTLS or TLS, as labeled by the client. Enable outgoing-server authentication using the account's supported authentication method.

4
Confirm mailbox permissions

Ask an Exchange administrator to check in the Exchange admin center that POP or IMAP is enabled for the mailbox and that authenticated SMTP is allowed if needed. Confirm that the client supports the organization's required authentication method, such as OAuth 2.0.

5
Test the account

Save the settings and use Outlook's account test or send a test message. Record the exact error and whether receiving, sending, or both fail.

Verify Exchange Online server and authentication settings
Check organization-specific settings: Server and authentication requirements can differ for specialized Microsoft 365 environments or organizational policies. Confirm them with your administrator if the standard settings do not apply.
Free Microsoft Office alternative

Work on Office documents with WPS Office

WPS Office is a free, lightweight, easy-to-use alternative with a familiar interface and compatibility with common Microsoft Office formats, making it easier to move existing document work. It does not fix Exchange Online proxy or email connections.

Edit documents, spreadsheets, and presentations in a familiar interfaceOpen and save common Microsoft Office formats, including DOCX, XLSX, and PPTXWork with Office-format attachments after downloading them from your mail clientUse a lightweight office suite with a free version
microsoft office alternative - wps office

Frequently Asked Questions

Which ports does Exchange Online use for POP, IMAP, and SMTP?

The standard settings are POP on port 995 with SSL/TLS, IMAP on port 993 with SSL/TLS, and SMTP submission on port 587 with STARTTLS. Check your organization's settings if it uses a specialized environment.

Why can I access Office 365 in a browser but not through POP or SMTP?

Browser access and mail protocols can use different connection paths and ports. Ask your network administrator to check whether the mail client uses the proxy and whether the proxy and firewall allow the required connections.

Does a proxy on port 8080 replace the mail server port?

No. Port 8080 is the proxy's listening port; the destination remains the mail server's POP, IMAP, or SMTP port. The client and proxy must support the connection method used.

What should I check if Outlook still cannot send a test email?

In Outlook's account settings, verify smtp.office365.com, port 587, TLS or STARTTLS, and outgoing authentication. Ask an Exchange administrator to confirm authenticated SMTP and the required authentication method are allowed for the mailbox.