PHP Classes
elePHPant
Icontem

COutLook: Outlook profile Inbox and Outbox mail reader.

Recommend this page to a friend!
  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 (17 years ago) RSS 2.0 feedStarStarStar 50%Total: 4,439 All time: 634 This week: 330Up
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.

  Performance   Level  
Name: Ernani Joppert Pontes ... <contact>
Classes: 1 package by
Country: Brazil Brazil

 

Details
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.

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

Registry:

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
E-mail: ernani@php.net
  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,439
This week:0
All time:634
This week:330Up
User Ratings User Comments (1)
 All time
Utility:62%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:62%StarStarStarStar
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2311