I wrote a PHP script to "Access your Outlook application using PHP".
Actually I wanted to access my Microsoft Outlook Calender to be accessed on web.
I have tried for the following link
http://www.programmersheaven.com/articles/Bogomil/art.htm
But I was getting the error
Warning: (null)(): Unable to obtain IDispatch interface for CLSID {0006F03A-0000-0000-C000-000000000046}: Access is denied
in the line
function getUnreadinInbox(){
#get unread messages from the Inbox Folder
###ERROR HERE
$oOutlook = new COM("Outlook.Application");
$oNs = $oOutlook->GetNamespace("MAPI");
$oFldr = $oNs->GetDefaultFolder(olFolderInbox);
$UnreadMessagesInFolder = $oFldr->UnReadItemCount;
return $UnreadMessagesInFolder;
}
then i went through the link
http://www.phpbuilder.com/columns/venkatesan20030501.php3?page=1
For Interfacing With COM Objects Under Windows NT/2k/XP
But again I am getting error in php.exe-Application error"The memory could not be read"
What should I do?
:sad: