O
OutlookIssueMan
I have a program that runs on a server that uses Redemption to log into the
default profile without a password and do some work, like accessing the
Global Address List, access folders & items (including folders from other
mailboxes with appropriate permissions), etc. The code looks like this:
RDOSession session = new RDOSession();
session.Logon(missing, missing, false, true, missing, missing);
When we're using an internal Exchange server, this works fine. This is
probably because we setup the default profile with the Exchange account
interactively first and ask it to save the password for us.
However, we have a few customers who use a hosted Exchange provider. Those
accounts use Basic Authentication, which will not allow you to save the
password. We tried setting a password in the second parameter of the Logon
call, but realized that it's an old "profile password" and did not work.
Assuming we would store the encrypted credentials, is there still a way to
accomplish this? I've seen a few notes mentioning passing a server name and
the mailbox name separated by CR/LF (dynamic profiles?) along with
impersonation, but don't know anything about this. Can someone tell me if
we're on the right track and perhaps point me to some resources? Thanks in
advance.
Michael
default profile without a password and do some work, like accessing the
Global Address List, access folders & items (including folders from other
mailboxes with appropriate permissions), etc. The code looks like this:
RDOSession session = new RDOSession();
session.Logon(missing, missing, false, true, missing, missing);
When we're using an internal Exchange server, this works fine. This is
probably because we setup the default profile with the Exchange account
interactively first and ask it to save the password for us.
However, we have a few customers who use a hosted Exchange provider. Those
accounts use Basic Authentication, which will not allow you to save the
password. We tried setting a password in the second parameter of the Logon
call, but realized that it's an old "profile password" and did not work.
Assuming we would store the encrypted credentials, is there still a way to
accomplish this? I've seen a few notes mentioning passing a server name and
the mailbox name separated by CR/LF (dynamic profiles?) along with
impersonation, but don't know anything about this. Can someone tell me if
we're on the right track and perhaps point me to some resources? Thanks in
advance.
Michael