1
SmarterMail and Outlook MAPI/EWS
Question asked by Cris Mead - 4/29/2025 at 6:39 AM
Answered
Call me dumb i might deserve it cause I can't figure this out... I know it worked before, but now in Outlook (classic), I can't setup an exchange account, it always goes to microsoft.com like I'm setting up / authenticating a hotmail account.

I know,well I googled, Outlook (new) doesn't support MAPI

Does anyone know how to get Outlook Classic to work with MAPI/EWS? I'm forced to use IMAP right now.

Outlook Version:
Microsoft Outlook for Microsoft 365 MSO (Version 2504 Build 16.0.18730.20030) 64-bit 

5 Replies

Reply to Thread
3
run this reg fix to change your registry

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\AutoDiscover]
"ExcludeExplicitO365Endpoint"=dword:00000001
"ExcludeHttpRedirect"=dword:00000001
"ExcludeHttpsRootDomain"=dword:00000001
"ExcludeScpLookup"=dword:00000001

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\AutoDiscover\RedirectServers]
"your server.com"=hex(0):

Make sure your version of outlook folder is correct.




2
I usually edit the Windows Registry to "tweak" MS Outlook (Classic) to work better with SmarterMail and not give precedence to MS365.

These are the settings I use (I do this for all users, but I still recommend you look at them to understand what they do before using them. Once you know what they do, you can also decide to use only the ones you are interested in and not all of them.):


reg add HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover /t REG_DWORD /v ExcludeHttpsAutoDiscoverDomain /d 1 /f
 
reg add HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover /t REG_DWORD /v ExcludeHttpsRootDomain /d 1 /f
 
reg add HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover /t REG_DWORD /v ExcludeLastKnownGoodURL  /d 1 /f
 
reg add HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover /t REG_DWORD /v ExcludeExplicitO365Endpoint /d 1 /f
 
reg add HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Options\RSS /t REG_DWORD /v Disable /d 1 /f
 
reg add HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Preferences /t REG_DWORD /v DisableTNEF /d 1 /f
 
reg add HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Preferences /t REG_DWORD /v ExcludeScpLookup /d 1 /f
 
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\setup /t REG_DWORD /v DisableOffice365SimplifiedAccountCreation /d 1 /f
Gabriele Maoret - Head of SysAdmins and CISO at SERSIS Currently manages 6 SmarterMail installations (1 in the cloud for SERSIS which provides services to a few hundred third-party email domains + 5 on-premise for customers who prefer to have their mail server in-house)
2
If you just want to bypass MS365 and have a better control over MS Outlook accounts, you can also just use these 2 settings. They should be enough.


reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\setup /t REG_DWORD /v DisableOffice365SimplifiedAccountCreation /d 1 /f


reg add HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover /t REG_DWORD /v ExcludeExplicitO365Endpoint /d 1 /f



Gabriele Maoret - Head of SysAdmins and CISO at SERSIS Currently manages 6 SmarterMail installations (1 in the cloud for SERSIS which provides services to a few hundred third-party email domains + 5 on-premise for customers who prefer to have their mail server in-house)
1
Cris Mead Replied
This last one worked like a charm! Thank you both million times over
1
you are welcome!
Gabriele Maoret - Head of SysAdmins and CISO at SERSIS Currently manages 6 SmarterMail installations (1 in the cloud for SERSIS which provides services to a few hundred third-party email domains + 5 on-premise for customers who prefer to have their mail server in-house)

Reply to Thread

Enter the verification text