Connect whith MAPI on a specific Domain

S

Stéphane Craye

Hi,

I wish to do a connected MAPI without graphic interaction. My problem is
that my application must turn on a pc that is not to connect to the Domain
of the exchange server. Interactively, when i connected to outlook, of must
set the Domain and the password. (see picture Image.bmp)

The following function works very well when I am connected to the Domain

h = MAPILogon (0, "MyProfile,"MyPass", MAPI_NEW_SESSION,
0L,&lhSession);

But, why not, (some connected local), it is me impossible to establish the
connected to MAPI. MAPILogon returns SUCCESS_SUCCESS but, after, if I use
another function (Ex MAPIFindNext) that fail, connected it is not good!!

Someone to you it an idea to authenticate the domain with the connected Mapi

Here joins my code sample and the picture of the window of connected.
http://www.geocities.com/stephanecraye/testmapi.zip

Thank-you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top