This is the code that brings the security measure. Its Outlook 2003?
Dim OlRecipient As Outlook.Recipient
Set myOlApp = CreateObject("Outlook.Application")
Set sItem = CreateObject("Redemption.SafeMailItem")
Set OlNamespace = OlApp.GetNamespace("MAPI")
Set OlRecipient = OlNamespace.CreateRecipient("MyMailBox")
It brings up the security error every time! Any ideas.
Thanks
John D
Redemption GetSharedDefaultFolder Outlook Security issue?
From: John Dempsey
Date Posted: 5/18/2004 11:50:00 AM
Hi guys is there anyway I can get to a Shared Default Folder without
having the Security box come up. I use Redemption and can see the
CreateRecipient method but cant get it to work? Want to basically log
into a Mailbox and process incoming emails with attachments. I have
accomplished everything except fo getting rid of this Security issue.
Some sample code just to point me in the right direction would be
good.
Thanks in advance.
JED
Re: Redemption GetSharedDefaultFolder Outlook Security issue?
From: Dmitry Streblechenko \(MVP\)
Date Posted: 5/18/2004 12:51:00 PM
You can use Namespace.GetSharedDefaultFolder in OOM without triggering
the
prompt: the rule of thumb is *not* to call Recipient.Resolve after
calling
Namespace.CreateRecipient.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
John Dempsey said:
Hi guys is there anyway I can get to a Shared Default Folder without
having the Security box come up. I use Redemption and can see the
CreateRecipient method but cant get it to work? Want to basically log
into a Mailbox and process incoming emails with attachments. I have
accomplished everything except fo getting rid of this Security issue.
Some sample code just to point me in the right direction would be
good.
Thanks in advance.
JED
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!