MAPILogonEx

M

MON205

Hello,
Does MAPILogonEx succeed on a machine that don't have Outlook installed?

Thanks a lot
 
K

Ken Slovak - [MVP - Outlook]

The Extended MAPI call to MAPILogonEx? If the stand-along server side
Extended MAPI is installed it will work without Outlook being installed.
 
M

MON205

I tried un-installing Outlook. And now, all MAPI calls fail, starting from
MAPIInitialize()!!!
Who installs the Extended MAPI? Is it Outlook? If yes, can't I use Simple
MAPI when Outlook is not installed.
Can you direct me to a web site or any resource to read more about this
issue.

Thanks
 
K

Ken Slovak - [MVP - Outlook]

No idea.

For Extended MAPI information you really should be posting in
microsoft.public.win32.programmer.messaging, that's where the MAPI
programmers hang out.
 
D

Dmitry Streblechenko

The error is MAPI_E_LOGON_FAILED.
How exactly do you call MAPILogonEx? Do you have any profiles configured? Do
yo ucreate owen programmatically?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
M

MON205

Ohhh.. I missed the flag "MAPI_LOGON_UI" where I passed NULL as the Profile
Name. Now, the Profiles dialog appear containing two profiles; "Outlook" and
"PstLoadTmp000". Are those profiles found because Outlook was on my machine
previously? Or I can always depend on these profiles when installing the
MAPICDO library?
Another problem that I found that the MAPICDO library is not a
redistributable package.
http://blogs.msdn.com/stephen_griffin/archive/2006/06/09/announcing-mapi-cdo-download.aspx

To be clear, my application reqirements are as the following:
-- The application have a database containing MSG files.
-- The user should be able to see any MSG.
-- The application opens the MSG with Outlook if Outlook installed.
-- If Outlook not installed, the application should convert the MSG to EML
(using redemption) and then open the EML with an EML viewer. (and here I'm
hanging)
 
D

Dmitry Streblechenko

No profiles are ever automatically created when you install the standalone
version of MAPI.
You either create a profile using Outlook (or the Mail Control Panel applet)
or you create it programmtically.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 

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