| | |
Access your Outlook application using PHP?
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2006
Posts: 116
Reputation:
Solved Threads: 0
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/art...ogomil/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/ve...01.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?
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/art...ogomil/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/ve...01.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?
![]() |
Similar Threads
- Beginners Guide To Creating Database Driven Website (Site Layout and Usability)
- outlook and php (PHP)
- Accessing a specific calander when calling outlook.application (Visual Basic 4 / 5 / 6)
- Drag n drop an mailitem from MS Outlook to C# application (C#)
- Access your Outlook application using VB.NET? (VB.NET)
- Web Browsers cannot access internet, but Outlook/Messenger Will (Web Browsers)
- Using Search Engine Friendly PHP URLs (PHP)
Other Threads in the PHP Forum
- Previous Thread: Content management system
- Next Thread: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
| Thread Tools | Search this Thread |
.htaccess alerts apache api archive array autocomplete beginner binary broken cakephp checkbox class cms code convert cron curl database dataentry date display duplicates dynamic echo email emptydisplayvalue error execute explodefunction file files firstoptioninphpdroplist folder form forms function functions google hack href htaccess html htmlspecialchars image include insert ip javasciptvalidation javascript joomla keywords limit link login mail matching menu methods mlm multiple mysql network object oop paypal pdf php problem query radio random recursion recursive redirect remote script search securephp server sessions shot sms source space sql subscription syntax system table tutorial tutorials update upload url validator variable video web youtube





