I am building an application to access a specific email account hosted on an Exchange 2003 server and doing some things for unread messages found. I don’t know much about how MAPI works, so I wouldn’t be too surprised if I missed something very obvious! I (unfortunately) using C #, I read about the problems that may arise (and I'm afraid of the consequences, but my boss wants it to be done this way ...).
I am struggling to find good information on how to connect to a specific account! The application will be launched from some laptop (say mine), so there will be a default account with which Outlook connects when opened. So:
Is it possible to connect to another account from a computer on which the user already has his own account and, possibly, Outlook is open?
If possible. How should I do it? When starting Outlook interaction objects, the application automatically receives a user account and sets the current user for this. I was hoping the method would Logon()sort this out, but no. It even just works. Outlook.Application olApp = new Outlook.Application();
Goes and sets the current user to a standard account.
I hope I have a point (maybe not), but feel free to ask more detailed questions in the comments and I will answer as quickly as possible. As I said, I know very little about MAPI and Exchange, so I struggle with how to formulate my question.
source
share