C++/VB - Simple MAPI deprecated?

Asked By Davide Angeli
19-Nov-09 10:05 AM
Hi to everybody.

I saw that "simple MAPI" API may be removed from future releases of
Windows. There is a reason? There will be a substitute?

Now I use simple MAPI to send mail from my software through the
default mail client. My customers use MS Outlook, Outlook Express,
Windows Mail, Eudora, Thunderbird and all of these now are working
fine with simple MAPI (for MS Outlook i'm already using extended MAPI
but it is the only one that support it).

In the future, I will have to consider only MS Outlook with extended
MAPI and cut off the compatibility with the other mail clients?

Thanks in advance

Davide Angeli
Outlook
(1)
APiThank
(1)
OutlookSpy
(1)
WithWindows
(1)
SoftwareI
(1)
Windows
(1)
OnMaybe
(1)
Eudora
(1)
  Dmitry Streblechenko replied to Davide Angeli
19-Nov-09 11:32 AM
Simple MAPI implementation is provider by the corresponding mail client
(e.g. Eudora) and has nothing to do withWindows, or Microsoft for that
matter.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
  Davide Angeli replied to Dmitry Streblechenko
19-Nov-09 05:52 PM
Ok, but simple MAPI are Windows API and as you can see on
http://msdn.microsoft.com/en-us/library/dd296734%28VS.85%29.aspx all
Simple MAPI functions have been given the "Deprecated" status. I
suppose that in future Windows versions this kind of routines will not
be supported so even if a mail client still implements it if Windows
will not use it they will became uneseful.
  Dmitry Streblechenko replied to Davide Angeli
19-Nov-09 01:31 PM
The way Simple MAPI works is that each mail client installs its own version
of the mapi32.dll, which implements the 12 Simple MAPI functions.

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

Ok, but simple MAPI are Windows API and as you can see on
http://msdn.microsoft.com/en-us/library/dd296734%28VS.85%29.aspx all
Simple MAPI functions have been given the "Deprecated" status. I
suppose that in future Windows versions this kind of routines will not
be supported so even if a mail client still implements it if Windows
will not use it they will became uneseful.
  Davide Angeli replied to Dmitry Streblechenko
20-Nov-09 08:09 AM
on

Maybe I am a little bit confused, please help me :  now in my software
I am loading mapi32.dll from 'windows\system32' folder and I suppose
that this is the Microsoft wrapper standard wrapper to simple MAPI for
the default mail client, is it wrong? For example if I am using
Thunderbird the real file is C:\Program Files\Mozilla Thunderbird
\mozMapi32_InUse.dll but I do not care where this file is because I
know that mapi32.dll in windows\system32 directory do the job for me.
My question is : in feature Windows versions, Microsoft will delete
windows\system32\mapi32.dll file and so it will be necessary to load
directly the client own version of the mapi32.dll?

Thanks

osoft.com/en-us/library/dd296734%28VS.85%29.aspxall
  Dmitry Streblechenko replied to Davide Angeli
22-Nov-09 10:29 AM
The way it used to work, mapi32.dll in the System32 folder got replaced.
Well behaved mail clients however leave mapi32.dll in System32 alone and
simply create a registry key that redirect calls to their dll that
implements Simple MAPI.
I very much doubt MS will break that. They might stop supporting Simple MAPi
in their own products (Windows Mail, Outlook, etc), but I do not see that
happening either.

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

Maybe I am a little bit confused, please help me :  now in my software
I am loading mapi32.dll from 'windows\system32' folder and I suppose
that this is the Microsoft wrapper standard wrapper to simple MAPI for
the default mail client, is it wrong? For example if I am using
Thunderbird the real file is C:\Program Files\Mozilla Thunderbird
\mozMapi32_InUse.dll but I do not care where this file is because I
know that mapi32.dll in windows\system32 directory do the job for me.
My question is : in feature Windows versions, Microsoft will delete
windows\system32\mapi32.dll file and so it will be necessary to load
directly the client own version of the mapi32.dll?

Thanks
  Davide Angeli replied to Dmitry Streblechenko
23-Nov-09 12:57 PM
APi

Thank you very much, now is all clear for me.

Davide Angeli

nt
t
..
PI
d
Create New Account
help
OutlookSpy. : 'GetMailBoxTable' C++ / VB Hi Dimitry / All, How can check the values for 'GetMailBoxTable' call using Outlook SPY on exchange / outlook2k3 ? I am not sure how to do this within OutlookSpy. Thanks nik Win32 Messaging Discussions Exchange Server (1) Outlook 2003 (1) Outlook (1) IExchangeManageStore (1) GetMailBoxTable (1) IMsgStore (1) InvalidArg (1 OutlookSpy (1) Click IMsgStore, then IExchangeManageStore. Dmitry Streblechenko (MVP) http: / / www.dimastr.com / OutlookSpy - Outlook, CDO and MAPI Developer Tool Thanks Dimitry, Just another thing do you know when 'GetMailBoxTable
Convert Outlook message C++ / VB How I can to convert Outlook message rtf field (I try to use PR_RTF_COMPRESSED Field) to Html? It must work under Outlook 2000-2007. Win32 Messaging Discussions Outlook (1) OutlookSpy (1) Pure RTF? Or RTF encoded HTML? - - Dmitry Streblechenko (MVP) http: / / www.dimastr.com OutlookSpy - Outlook, CDO and MAPI Developer Tool - keywords: Convert, Outlook, message description: How I can to convert Outlook message rtf field (I try to use
method? C++ / VB What error? From what method? - - Dmitry Streblechenko (MVP) http: / / www.dimastr.com / OutlookSpy - Outlook, CDO and MAPI Developer Tool - Win32 Messaging Discussions MAPIMailMessage (1) IMAPITable (1) IMAPIUser (1) Outlook (1) SizedSPropTagArray (1) HrQueryAllRows (1) SPropTagArray (1) HrGetOneProp (1) I'm getting the following tag values working with the default 'Outlook' profile: rows-> aRow[i].lpProps[7].ulPropTag -> 0x39FE000A (PR_SMTP_ADDRESS_ERROR) rows-> aRow[i].lpProps[8].ulPropTag PR_EMS_AB_PROXY_ADDRESSES from that object (IMAPIUser::GetProps or HrGetOneProp). - - Dmitry Streblechenko (MVP) http: / / www.dimastr.com / OutlookSpy - Outlook, CDO and MAPI Developer Tool - I'm getting the following tag values working with the default 'Outlook' profile: rows-> aRow[i].lpProps[7].ulPropTag -> 0x39FE000A (PR_SMTP_ADDRESS_ERROR) rows-> aRow[i].lpProps[8].ulPropTag From, what, method? description: What error From what method - - Dmitry Streblechenko (MVP) www.dimastr.com / OutlookSpy - Outlook, CDO and MAPI Developer Tool -?
0x80029C4A Error loading type library / DLL. Related to Outlook.Application. C++ / VB I have a customer getting the above error in a program that uses the "Outlook.Application" object. I have verified the registry looks ok (see the information below). How can more information about the problem so that it can be solved? Thanks, Frank - -- -- -- -- -- -- -- -- -- -- -- - Subject: Re: Outlook.Application HKEY_CLASSES_ROOT \ Outlook.Application = Microsoft Outlook 10.0 Object Library HKEY_CLASSES_ROOT \ Outlook.Application \ CLSID = {0006F03A-0000-0000-C000-000000000046} HKEY_CLASSES_ROOT \ Outlook.Application = Outlook.Application.10 HKEY_CLASSES_ROOT \ Outlook.Application.10 = Microsoft Outlook 10.0 Object Library HKEY_CLASSES_ROOT \ Outlook.Application