I have not used PHP for this, but have experience using C # to achieve the same.
The Outlook API is a way to automate Outlook, not a direct connection to Exchange. I previously used this approach in a C # application and it works, although it may be a mistake.
If you want to connect directly to the Exchange server, you will need to explore the advanced MAPI.
In the past, I used this MAPIEx shell : Extended MAPI Wrapper .
This is a C # project, but I believe that you can use some .NET code on a PHP5 Windows server. Alternatively, it has a base C ++ DLL that you can use. I found this to be very good and there are some good sample applications.
Update:
Sorry for the delay, there is no current way to track messages.
I agree to add an extra layer to your application, and relying on third-party code can be scary (and rightly so).
Today I read another interesting post , labeled MAPI, which is on another subject. The main thing here, however, is that it is related to this important MS article . I still did not know about the problems of using managed code to interact with MAPI, although the C ++ code in the component should not be exposed to this error, since it is unmanageable.
This blog post also suggests other ways to connect to the MAPI / Exchange server. In this case, due to these new facts, http://us3.php.net/imap may be the answer suggested by another user.
John Aug 03 '08 at 7:50 2008-08-03 07:50
source share