When it requires SecurityManager.Connect

Add-in Express™ Support Service
That's what is more important than anything else

When it requires SecurityManager.Connect
 
Charith Jayasundara




Posts: 2
Joined: 2013-02-12
Hi,

I want to suppress a security message when I pro grammatically compose a new email. I am very new to SecurityManager and I am not sure when I need to call SecurityManager.Connect method. What are the specific cases I have to connect? It seems to be working even without connect.

Thanks,
Charith
Posted 12 Feb, 2013 17:08:08 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Hi Charith,

You don't need to call Connect if you develop an Outlook COM add-in.
You don't need to call Connect if you use Simple MAPI or CDO to create and send the email.

You must call it if you develop any application type (except for an Outlook add-in or an Outlook VBA macro) and the application uses the Outlook object model to create and send the email. Note that calling Connect() implies calling Disconnect() when you are done with Outlook.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Feb, 2013 00:38:47 Top
Charith Jayasundara




Posts: 2
Joined: 2013-02-12
Thank you Andrei!!
Posted 13 Feb, 2013 06:19:14 Top