Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Tue, 29 Apr 2008 15:41:54 +0100,    group: microsoft.public.platformsdk.mapi        back       


Automate the creation of a MAPI Account   
Hi Guys

Is there any way to automate the creation of a MAPI account in a third party 
message store?

I've found a C++ project called ProfMan but it uses an illegal hack to gain 
access to the profile section of a store as clients aren't usually 
privilieged enough to access this. This no longer works with recent versionf 
of Outlook/MAPI.

How can I force Outlook to trigger account creation?

Cheers
Win
date: Tue, 29 Apr 2008 15:41:54 +0100   author:   Windoze

Re: Automate the creation of a MAPI Account   
That hack is only used to *read* profile data. Plus Outlook 2002 added a new 
flag that lets client code open any profile section.
Secondly, keep in mind that some servies (POPO3/SMTP, IMAP$/SMTP) are no 
longer MAPI based. You can use IOlkAccountManager API to enumerate and 
change existing accounts, but you cannot add new ones - MS has never 
documented the relevant parts.
-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"Windoze"  wrote in message 
news:O5cRrcgqIHA.5068@TK2MSFTNGP02.phx.gbl...
> Hi Guys
>
> Is there any way to automate the creation of a MAPI account in a third 
> party message store?
>
> I've found a C++ project called ProfMan but it uses an illegal hack to 
> gain access to the profile section of a store as clients aren't usually 
> privilieged enough to access this. This no longer works with recent 
> versionf of Outlook/MAPI.
>
> How can I force Outlook to trigger account creation?
>
> Cheers
> Win
>
date: Tue, 29 Apr 2008 10:34:53 -0700   author:   Dmitry Streblechenko

Re: Automate the creation of a MAPI Account   
Look at mfcmapi: http://codeplex.com/mfcmapi to see a better version of the 
hack, including the documented flags.

"Windoze"  wrote in message 
news:O5cRrcgqIHA.5068@TK2MSFTNGP02.phx.gbl...
> Hi Guys
>
> Is there any way to automate the creation of a MAPI account in a third 
> party message store?
>
> I've found a C++ project called ProfMan but it uses an illegal hack to 
> gain access to the profile section of a store as clients aren't usually 
> privilieged enough to access this. This no longer works with recent 
> versionf of Outlook/MAPI.
>
> How can I force Outlook to trigger account creation?
>
> Cheers
> Win
>
date: Wed, 30 Apr 2008 10:28:18 -0400   author:   Stephen Griffin [MSFT]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us