Security Manager for Microsoft Outlook allows you to easily bypass security settings and suppress the following prompts with a few code lines. The .NET, VCL and ActiveX editions are included in one package.
SecurityManager.DisableOOMWarnings = true;
try
{
//...some actions with protected Outlook objects...
}
finally
{
SecurityManager.DisableOOMWarnings = false;
}
OlSecurityManager.ConnectTo OutlookApp
OlSecurityManager.DisableOOMWarnings = True
On Error Goto Finally
'... any action with protected objects, sending email...
Finally:
OlSecurityManager.DisableOOMWarnings = False