I am using Redemption objects in Access VBA to access Outlook.
The DefaultStore.EntryID
is different depending on which Session logon
method I use.
Here's my code:
Dim oSession As New Redemption.RDOSession
oSession.Logon
Debug.Print oSession.Stores.DefaultStore.EntryID
oSession.Logoff
oSession.LogonExchangeMailbox ("MyADUsername"), "mail.server.com"
Debug.Print oSession.Stores.DefaultStore.EntryID
oSession.Logoff
Set oSession = Nothing
My first Debug.Print
returns a string that is about 336 characters long. The second Debug.Print
returns a different string (with some of the same characters) that is about 76 characters long.
What might I be doing wrong or misunderstanding here?