HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\(Your outlook version)\Outlook\Security

Inside Security folder you must add or modify :

o PromptSimpleMAPISend
o PromptSimpleMAPINameResolve
o PromptSimpleMAPIOpenMessage

All of them must be DWORD and have value 2 hex.

After this you must check the following path :

HKEY_LOCAL_MACHINE/SOFTWARE /Microsoft/Office/(here you choose your outlook version)/Outlook/Security

If the path doesn't exist, then create it.

Inside security folder  must be a DWORD named "ObjectModelGuard" with value 2 hex.