wrting a MAPi server/provider

  • Thread starter Thread starter MR
  • Start date Start date
M

MR

Is there a document or example that show how to write a MAPI
server/provider?
Is there was way to write it in .NET?
this will be for an application that runs on XP but needs to exposes a third
party store of contact information to an client application that can only
get data from a MAPI source
thanks
m
 
See there http://www.codeproject.com/csharp/simplemapidotnet.asp
MR said:
Is there a document or example that show how to write a MAPI
server/provider?
Is there was way to write it in .NET?
this will be for an application that runs on XP but needs to exposes a third
party store of contact information to an client application that can only
get data from a MAPI source
thanks
m

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
thanks, but this implements a client, not a server
is there reference on how to implement a server?
 
actually that document just explains how he fixed a bug in the transport
i am looking how to create a MAPI store, one that is able to expose contacts
from a "foreign" source
thanks for your help so far
 
The only book about writing providers is Inside MAPI.
It is out of print.
You can by an electronic version of this book.
See www.insidemapi.com

www.mapispy.com constains an updated version of MSLMS.
That sample of store provider.

With best regards.
Henry
 
Henry Gusakovsky said:
The only book about writing providers is Inside MAPI.
It is out of print.
You can by an electronic version of this book.
See www.insidemapi.com

www.mapispy.com constains an updated version of MSLMS.
That sample of store provider.

I'm no expert on this, but if MAPI doesn't work out, you may be able to
expose the store using:
- LDAP/ActiveDirectory entries
- An exhange server plugin
- "push" using Outlook object model on client
- bulk (possibly scheduled automatic) text/xml export/import to
exchange/outlook/etc
- write a plugin to an existing 3rd party synronization tool

Just some ideas...

m
 
Transport provider sample:
http://blogs.msdn.com/jasonjoh/archive/2005/11/04/489201.aspx

Store provider sample:
http://blogs.msdn.com/stephen_griffin/archive/2004/09/30/236345.aspx

Wrapped PST sample:
http://blogs.msdn.com/stephen_griffin/archive/2005/09/28/475027.aspx

What you're looking to write is an Address book provider. It'll be very
similar to a store or transport provider (that is, many of the same concepts
are used). We don't have a modern AB provider sample right now, but that may
change soon.
 
No one has said this explicitly yet; however, it is my understanding that
direct interaction with extended MAPI is the *only* way to write a provider
of any type. The next thing you will hear is that calling MAPI functions
from managed (i.e. .NET) code is not supported. Therefore, to answer your
original question ("Is there a way to write it in .NET?") - No.

Dave Smith
 

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

Back
Top