When sending or receiving emails in Microsoft Outlook on Windows, users frequently encounter the send/receive error dialogue: “Task ‘[email protected] – Sending and Receiving’ reported error (0x80040115): ‘We can’t complete this because we can’t contact the server right now. Please try again later.'” This error indicates an unexpected breakdown in MAPI/HTTP or RPC communication between the desktop Outlook client and the Microsoft Exchange or Microsoft 365 cloud mail server.
Flush DNS and Reset Windows Sockets
Corrupted local DNS resolver caches or stale TCP/IP network sockets can prevent Outlook from establishing encrypted sessions with Exchange endpoint servers:
- Close Microsoft Outlook completely.
- Right-click the Start button and select Terminal (Admin) or Command Prompt (Admin).
- Execute the following commands in sequence, pressing Enter after each:
ipconfig /flushdns netsh int ip reset netsh winsock reset - Restart your computer to finalise the socket reconfiguration. Launch Outlook and check whether the status bar at the bottom displays Connected to: Microsoft Exchange.
Launch Outlook in Safe Mode and Disable Conflicting Add-ins
Third-party security software add-ins, antivirus mail scanners, and legacy CRM connectors often intercept email transport layers, triggering error 0x80040115:
- Press Windows Key + R to open the Run dialogue.
- Type
outlook /safeand press Enter. - Select your standard Outlook profile and click OK.
- If Outlook connects and syncs emails without reporting 0x80040115 in Safe Mode, a COM add-in is the root cause.
- Go to File > Options > Add-ins.
- At the bottom of the window, ensure Manage is set to COM Add-ins and click Go.
- Untick all third-party add-ins, click OK, and restart Outlook normally.
Rebuild Corrupted Offline Data File (.OST)
The local offline cache file (OST) stores a synchronised copy of your mailbox on your hard drive. If this file suffers index corruption, Outlook halts synchronisation:
- Exit Outlook.
- Press Windows Key + R, type
%localappdata%\Microsoft\Outlook, and click OK. - Locate the
.ostfile associated with your affected email account (e.g.[email protected]). - Rename this file to
[email protected](or delete it). - Launch Outlook. Because Exchange mailboxes reside securely in the cloud, Outlook will automatically create a brand new OST file and re-download your emails, calendars, and folders fresh.
Repair the Outlook Profile via Mail Control Panel
Damaged account configuration profiles can break server handshake tokens:
- Press Windows Key + R, type
control, and press Enter to open the classic Control Panel. - Switch View by to Large icons and click Mail (Microsoft Outlook).
- Click the Email Accounts button.
- Under the E-mail tab, select your account and click Repair.
- Follow the wizard prompts to verify connection to the server. If automated repair fails, click Show Profiles in the Mail setup window, click Add, and configure a fresh profile from scratch.
Perform a Microsoft Office Online Quick Repair
If core Office shared components or cryptographic DLL files are damaged, running Office repair restores missing binaries:
- Press Windows Key + I to open Settings, then navigate to Apps > Installed apps.
- Locate Microsoft 365 (or Microsoft Office).
- Click the three dots menu icon and select Modify.
- Select Quick Repair and click Repair. If network issues persist after quick repair, run Online Repair to download clean replacement binaries directly from Microsoft servers.