You are here:

C++/How to access mailbox of user X from user Y

Advertisement


Question
I have written a program in Vicual C++.Net environment using extended
mapi.
I have logged into the my machine as an administrator.
I created a dynamic profile of another user.To access the mail box
of another user,I carried on the following steps:
1.LogonUser
2.Impersonate the User
3.Creating a dynamic profile.
log on to Mapi session is successful using MapiLogonEx.
GetMsgStore() is successful but while using the OpenMsgStore
I am getting error.
The error is "ClassFactory cannot supply requested class"
Also I have checked the error using GetLastError.And the
error is "The Information store could not be openned."

Please help me out from this mess.Any help is highly appreciated


Answer
Moloy Bhattacharyya , Thank you for your question.

I regret that I do not have the knowledge to answer this question.

I suggest that you post this question at www.experts-exchange.com, which is more advanced than allexperts.com.

David Spector

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


David Spector

Expertise

Highly knowledgeable in the C++ language, Visual C++ (MSVC), Windows API, documentation and other quality-assurance techniques, and debugging. Knowledgeable in MFC, COM, GUI design, and object-oriented design.

Experience

I have been a software engineer since 1965. I have been published. My specializations have been: biomedical programming, compiler implementation, and many kinds of Windows programming. I don't do Databases or other business-oriented stuff.

Publications
Windows?/DOS Developer's Journal, ACM SIGPLAN Notices, and Computer Science Press.

Education/Credentials
ICCP Systems Programming Certification
Master's degree equivalent in Computer Science

©2016 About.com. All rights reserved.