PHP Classes

COutLook: Outlook profile Inbox and Outbox mail reader.

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2002-09-27 (13 years ago) RSS 2.0 feedStarStarStar 50%Total: 4,391 All time: 610 This week: 1,152Down
Version License Categories  
coutlook 1.0BSD LicenseEmail, Windows
Description Author  

This class reads messages from the Inbox and Oubox of an Outlook local profile through CDO (Colaboration Data Objects).

The class only works under Windows.

Picture of Ernani Joppert Pontes Martins
  Performance   Level  
Name: Ernani Joppert Pontes ... is available for providing paid consulting. Contact Ernani Joppert Pontes ... .
Classes: 1 package by
Country: Brazil Brazil
Age: 37
All time rank: 63249 in Brazil Brazil
Week rank: 1624 Down120 in Brazil Brazil Down

I have always been surprised from what PHP can do.
Using COM objects shows new and best ways for PHP development.

The folowing code, which is designed like Step by Step wizard,
shows the access to Inbox and Outbox folders in your MS Outlook application.

You should do the folowing:

Check the system configuration and registry entires.

OS: Windows 98/NT/2000/XP 
MS Outlook


Start regedit.exe from Start Menu->Run ,check the HKEY_CLASSES_ROOT section for the folowing entires:
Outlook.Application and MIME.Session (or MIME.Session1).

If the MIME.Session is missing you shold do the folowing:
1. Search your computer for the file named cdo.dll if doesn't exists you must download it from the microsoft web site.

2. Move your cdo.dll in the system32 directory and register it with the regsvr32.exe (just drag the file and drop it over regsvr32.exe file).

Make a file named index.php which have 2 frames
In main frame you should put the 'comunread.php' file and in the bottom frame 'view.php'
Then run the index.php!
The class COutLook.php and all files need to be at the same path.

Feel free to report any bugs or doubts.

Ernani Joppert Pontes Martins
Consultant and Developer
São Paulo - Brazil
  Files folder image Files  
File Role Description
Accessible without login Plain text file comunread.php Example COM E-mail reader
Plain text file COutLook.php Class Main Class
Accessible without login Plain text file readme.txt Doc. The needs
Accessible without login Plain text file view.php Example The viewer

 Version Control Unique User Downloads Download Rankings  
 0%Total:4,391All time:610
 This week:0This week:1,152Down
User Ratings User Comments (1)  
 All time