I created a small ActiveX DLL project about 3 years ago to try calling the MAPI functions in MSOE.dll (Simple MAPI provider for Outlook Express). They're undocumented but if successful would enable one to emulate the functionality of the MAPI controls when Outlook Express 5 or 6 is the default mail client and Extended MAPI isn't present.
These days MAPI32.dll is just a stub that reads the registry and forwards the calls to the registered provider. If the provider is MSOE.dll and functions are declared from MAPI32.dll in VB, an unlisted error is raised when they are forwarded. However, if I bypass MAPI32.dll and declare functions from MSOE.dll it works except that it crashes after sending 2 e-mails! :-(
I quite often need this for a project but have never solved the crashing problem. If anyone would like to have a go please e-mail me at paulbent@northwindit.co.uk for a copy of the project. I'd love to get it working!
Paul Bent
Northwind IT Systems
These days MAPI32.dll is just a stub that reads the registry and forwards the calls to the registered provider. If the provider is MSOE.dll and functions are declared from MAPI32.dll in VB, an unlisted error is raised when they are forwarded. However, if I bypass MAPI32.dll and declare functions from MSOE.dll it works except that it crashes after sending 2 e-mails! :-(
I quite often need this for a project but have never solved the crashing problem. If anyone would like to have a go please e-mail me at paulbent@northwindit.co.uk for a copy of the project. I'd love to get it working!
Paul Bent
Northwind IT Systems