I send an email using Outlook 2010 with Access VBA.
I get a warning from Microsoft Outlook about a program trying to send an email and I'm forced to push allow.
I have the Microsoft Outlook Object Library 14 from the reference in VBA.
In Outlook - Options - access through programin is marked on don't show warnings.
I added the next entries in regedit
Key: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\
<version>\Outlook\Security
Value name: AdminSecurityMode
Value type: REG_DWORD
Value: 3
Key: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\
<version>\Outlook\Security
Value name: PromptOOMSend
Value name: PromptOOMAddressBookAccess
Value name: PromptOOMAddressInformationAccess
Value name: PromptOOMMeetingTaskRequestResponse
Value name: PromptOOMSaveAs
Value name: PromptOOMFormulaAccess
Value name: PromptSimpleMAPISend
Value name: PromptSimpleMAPINameResolve
Value name: PromptSimpleMAPIOpenMessage
Value type: REG_DWORD
Value: 2
I also add DoCmd.SetWarnings False in the email function.
How to disable this warning?